/* prj-forms-songs.css */

/* =========================================================
   PRJ Singer Form – Base layout
   ========================================================= */

.prj-form-wrapper {
    max-width: 640px;
    margin: 0 auto;
    font-family: inherit;
    /* font-size: 14px; */
}

.prj-form {
    margin: 0;
}

/* Title + subtitle */

.prj-form-title {
    /* font-size: 20px; */
    margin: 0 0 4px;
}

.prj-form-subtitle {
    /* font-size: 14px; */
    color: #555;
    margin: 0 0 16px;
}

/* Sections / rows */

.prj-form-section {
    margin-bottom: 16px;
}

.prj-user-info .prj-form-row,
.prj-songs-section .prj-form-row,
.prj-notes-row {
    margin-bottom: 10px;
}

/* Labels / inputs */

.prj-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.prj-required {
    color: #d32f2f;
    font-weight: normal;
    font-size: 12px;
    margin-left: 4px;
}

.prj-field-input {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.prj-field-input:focus {
    outline: none;
    border-color: #0073aa;
}

/* Two-column rows (First / Last name etc.) */

.prj-two-cols {
    display: flex;
    gap: 8px;
}

.prj-two-cols .prj-col {
    flex: 1;
}

/* Notes */

.prj-notes-row textarea {
    min-height: 70px;
}

/* Divider between user info and songs */

.prj-form-wrapper hr.prj-divider {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 30px 0 22px;
}

/* =========================================================
   Songs section
   ========================================================= */

.prj-section-subtext {
    /* font-size: 12px;  */
    color: #666;
    margin: 0 0 10px;
}

.prj-songs-rows {
    margin-bottom: 10px;
}

.prj-song-row {
    margin-bottom: 8px;
}

/* Songs row layout */
.prj-song-fields {
    display: flex;
    gap: 8px;
    align-items: center;   /* center X vertically with inputs */
}

.prj-inline-field {
    flex: 1 1 50%;
}

/* Remove button for extra rows */
.prj-song-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    background: #e0e0e0; /* darker gray */
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
	font-weight: bold; /* bold X */
}

.prj-song-remove:hover {
    background: #e0e0e0;
}


/* Add more songs button */

.prj-song-add {
    display: inline-block;
    margin-top: 4px;
    padding: 10px 18px;
    border-radius: 4px;
    border: 1px solid #ff59bf;
    background: #fff;
    color: #ff59bf;
    font-size: 14px;
    cursor: pointer;
}

.prj-song-add.prj-disabled {
    opacity: 0.6;
    cursor: default;
}

/* =========================================================
   Actions (Next / Back / Submit)
   ========================================================= */

.prj-form-actions {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.prj-btn-next,
.prj-btn-back,
.prj-btn-submit {
    border-radius: 3px;
    border: none;
    padding: 7px 14px;
    cursor: pointer;
    /* font-size: 14px; */
}

.prj-form-actions {
    display: flex;
}

.prj-btn-back,
.prj-btn-submit {
    width: 50%;
}

.prj-btn-next{
    width: 100%;
}

.prj-btn-next,
.prj-btn-submit {
    background: #0073aa;
    color: #fff;
}

.prj-btn-next:hover,
.prj-btn-submit:hover {
    background: #005c86;
}

.prj-btn-back {
    background: #f3f3f3;
    color: #333;
}

.prj-btn-back:hover {
    background: #e4e4e4;
}

/* =========================================================
   Preview step
   ========================================================= */

.prj-review-block {
    margin-bottom: 12px;
    /* font-size: 14px; */
}

.prj-review-songs-list div {
    margin-bottom: 3px;
}

/* =========================================================
   Validation / error state
   ========================================================= */

.prj-error-message {
    color: #d93025;
    font-size: 13px;
    margin-top: 4px;
}

.prj-field-error {
    border: 1px solid #d93025;
}

/* Honeypot */

.prj-honeypot {
    position: absolute;
    left: -9999px;
}

/* =========================================================
   Responsive tweaks
   ========================================================= */

@media (max-width: 600px) {

    .prj-two-cols {
        flex-direction: column;
    }

    .prj-song-fields {
        flex-direction: column;
        align-items: stretch;
    }

    .prj-song-remove {
        align-self: flex-end;
        margin-top: 4px;
    }
}
