/* ====================================
   INSCRIÇÕES - Registration Form CSS
   ==================================== */

.logos-slider-area {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
}

.logos-title-div {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Form Container */
form {
    margin-top: 20px;
}

.container {
    max-width: 1200px;
}

/* Pharmacy Section */
.logos-title-div .row:first-child {
    margin-bottom: 30px;
}

/* Form Labels */
form label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

label .required {
    color: #e74c3c;
    margin-left: 3px;
}

/* Form Inputs */
form input[type="text"],
form input[type="email"],
form input[type="date"],
form select,
form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="date"]:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: #0d47a1;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

form textarea {
    resize: none;
    min-height: 100px;
    padding: 12px 15px;
}

/* Checkbox */
.fancy-checkbox {
    display: inline-flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    margin: 5px 0 15px 0;
}

.fancy-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.fancy-checkbox input[type="checkbox"] + label {
    display: inline-flex;
    align-items: center;
    height: auto;
    min-height: 24px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin: 0;
    padding-left: 30px;
    position: relative;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.fancy-checkbox input[type="checkbox"] + label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid #0d47a1;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.fancy-checkbox input[type="checkbox"]:checked + label::before {
    background-color: #0d47a1;
    border-color: #0d47a1;
}

.fancy-checkbox input[type="checkbox"]:checked + label::after {
    content: '✓';
    color: white;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-weight: bold;
}

.fancy-checkbox label {
    display: inline;
    margin: 0;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

/* Select Dropdown */
.fancy-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d47a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* Horizontal Rule */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #e8e8e8, #0d47a1, #e8e8e8);
    margin: 30px 0;
}

/* Section Headings */
h3 {
    color: #0d47a1;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h4 {
    color: #0d47a1;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d47a1;
}

/* Tab Navigation */
.nav-tabs {
    border-bottom: 3px solid #0d47a1;
    margin-bottom: 0;
    gap: 5px;
}

.nav-tabs .nav-link {
    background-color: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 6px 6px 0 0;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: -3px;
}

.nav-tabs .nav-link:hover {
    background-color: #e8e8e8;
    color: #0d47a1;
    border: none;
}

.nav-tabs .nav-link.active {
    background-color: #0d47a1;
    color: white;
    border: none;
    border-radius: 6px 6px 0 0;
}

/* Tab Content */
.tab-content {
    background-color: #fafafa;
    padding: 30px;
    border-radius: 0 0 6px 6px;
    border: 1px solid #e8e8e8;
    border-top: 2px solid #0d47a1;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Group Spacing */
.mb-10 {
    margin-bottom: 20px;
}

/* Player Sections */
.col-lg-6 > h4 {
    margin-top: 0;
}

/* Observations Textarea */
textarea {
    line-height: 1.6;
    color: #333;
}

/* Buttons */
.btn-shape {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    color: white;
    border: none;
    padding: 14px 48px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.2);
    margin-top: 10px;
}

.btn-shape:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3);
}

.btn-shape:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.2);
}

/* Messages */
.success-message,
.error-message {
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 5px solid;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.success-message {
    background-color: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.success-message h3 {
    color: #155724;
    margin-top: 0;
    margin-bottom: 10px;
}

.error-message {
    background-color: #f8d7da;
    border-left-color: #e74c3c;
    color: #721c24;
}

.error-message h3 {
    color: #721c24;
    margin-top: 0;
    margin-bottom: 10px;
}

.success-message p,
.error-message p {
    margin: 5px 0;
    font-size: 14px;
}

.success-message a,
.error-message a {
    font-weight: 600;
    text-decoration: underline;
}

/* Regulation Section */
form label[for="accept_regulation"] {
    display: inline;
    font-weight: 500;
    margin-bottom: 0;
}

form label[for="accept_regulation"] a {
    color: #0d47a1;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

form label[for="accept_regulation"] a:hover {
    border-bottom-color: #0d47a1;
}

/* Submit Row */
.row[style*="display: flex; justify-content: center"] {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    border-radius: 8px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logos-title-div {
        padding: 20px;
    }

    .nav-tabs {
        flex-wrap: wrap;
        gap: 3px;
    }

    .nav-tabs .nav-link {
        padding: 10px 16px;
        font-size: 12px;
    }

    .tab-content {
        padding: 20px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 14px;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="date"],
    form select,
    form textarea {
        font-size: 13px;
        padding: 10px 12px;
    }

    .btn-shape {
        padding: 12px 36px;
        font-size: 14px;
    }

    .row[style*="display: flex; justify-content: center"] {
        flex-direction: column;
    }

    .col-lg-12 {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .logos-slider-area {
        padding: 30px 0;
    }

    .logos-title-div {
        padding: 15px;
        border-radius: 8px;
    }

    form label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="date"],
    form select,
    form textarea {
        font-size: 12px;
        padding: 10px;
    }

    .tab-content {
        padding: 15px;
    }

    h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    h4 {
        font-size: 13px;
    }

    .btn-shape {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }

    .fancy-checkbox input[type="checkbox"] + label {
        width: 20px;
        height: 20px;
    }
}

/* Companions Section */
#companions_section_1,
#companions_section_2,
#companions_section_3 {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
    border-left: 4px solid #0d47a1;
}

#companions_section_1 h4,
#companions_section_2 h4,
#companions_section_3 h4 {
    color: #0d47a1;
    margin-top: 0;
    margin-bottom: 15px;
}
