/* cincontest.css - Advanced Form Styles */

.cincontest-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #444;
}

.cincontest-form-header h2 {
    font-size: 36px;
    font-weight: 300;
    color: #555;
    margin-bottom: 30px;
}

.cincontest-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.cincontest-section-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.cincontest-step-num {
    background: #6c7c8c;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.cincontest-section-header h3 {
    font-size: 28px;
    font-weight: 300;
    margin: 0;
    color: #333;
}

.cincontest-section-body {
    padding: 30px;
}

.cincontest-field-row {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.cincontest-field-row > label {
    width: 200px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    padding-top: 10px;
    text-align: right;
    margin-right: 25px;
}

.cincontest-field-row > label small {
    font-weight: normal;
    color: #888;
    display: block;
}

.cincontest-field-row .required {
    color: #d9534f;
}

.cincontest-field-input {
    flex-grow: 1;
}

.cincontest-field-input input[type="text"],
.cincontest-field-input input[type="email"],
.cincontest-field-input input[type="url"],
.cincontest-field-input input[type="number"],
.cincontest-field-input input[type="date"],
.cincontest-field-input select,
.cincontest-field-input textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    color: #555;
    box-sizing: border-box;
}

.cincontest-field-input input:focus,
.cincontest-field-input textarea:focus,
.cincontest-field-input select:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.cincontest-radio-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: normal;
    color: #555;
    cursor: pointer;
}
.cincontest-radio-group input[type="radio"] {
    margin-right: 10px;
}

.offset-label .cincontest-field-input {
    margin-left: 225px;
}

.cincontest-field-input label {
    font-weight: normal;
    cursor: pointer;
}


/* Section 3: Credits Repeaters */
.cincontest-repeater-box {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

.cincontest-repeater-box .repeater-header {
    background: #f9f9f9;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}
.cincontest-repeater-box .repeater-header h4 {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.repeater-items {
    padding: 15px;
}

.repeater-item {
    border-bottom: 1px dashed #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
    position: relative;
}
.repeater-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.repeater-fields-3 {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}
.repeater-fields-3 > div {
    flex: 1;
}
.repeater-item label {
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
}
.repeater-item input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.repeater-fields-full input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.remove-item {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
}
.remove-item:hover { color: #d9534f; }

.add-repeater-item {
    background: transparent;
    border: none;
    color: #337ab7;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
}
.add-repeater-item:hover { text-decoration: underline; }


/* Section 4: Specifications */
.cincontest-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 3px;
}
.cincontest-checkbox-grid label {
    font-weight: normal;
    color: #555;
    cursor: pointer;
}

.runtime-inputs {
    display: flex;
    gap: 15px;
}
.runtime-inputs > div {
    flex: 1;
}
.runtime-inputs label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
}

.budget-inputs {
    display: flex;
    gap: 10px;
}
.budget-inputs input { flex: 2; }
.budget-inputs select { flex: 1; }

/* Section 5: Simple Repeaters */
.cincontest-simple-repeater {
    border: 1px solid #ddd;
    border-radius: 3px;
}
.repeater-item-simple {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.repeater-item-simple input {
    flex-grow: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 5px !important;
}
.remove-simple {
    background: transparent;
    border: none;
    color: #337ab7;
    cursor: pointer;
    font-size: 18px;
}
.add-simple-item {
    background: #337ab7;
    color: #fff;
    border: none;
    padding: 8px 15px;
    margin: 10px;
    border-radius: 3px;
    cursor: pointer;
}

/* Footer */
.cincontest-form-footer {
    text-align: center;
    padding: 40px 0;
}
.completion-graphic h3 {
    font-size: 28px;
    font-weight: 300;
    color: #555;
    margin-bottom: 20px;
}
.btn-save-project {
    background: #2ab27b;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-save-project:hover { background: #239566; }

#cincontest-form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 3px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
#cincontest-form-message.success {
    background: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}
#cincontest-form-message.error {
    background: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

/* Gallery Styles from previous version */
.cincontest-gallery { margin: 20px 0; }
.cincontest-grid-item { background: #fff; transition: transform 0.2s ease-in-out; }
.cincontest-grid-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.cincontest-title { font-size: 1.2rem; margin-top: 0; margin-bottom: 10px; }
.cincontest-video-wrap iframe { width: 100%; height: 200px; border-radius: 4px; }
