.login-main {
    background-color: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
}

.login-container {
    max-width: 420px;
    width: 100%;
}

.login-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 32px;
    margin-bottom: 24px;
}

.login-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 32px;
    text-align: left;
}

.login-primary-option {
    margin-bottom: 32px;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.option-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.option-title {
    font-size: 16px;
    font-weight: 600;
    color: #1351b4;
}

.option-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}

.option-description strong {
    color: #1351b4;
    font-weight: 600;
}

.input-group {
    margin-bottom: 24px;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.input-field:focus {
    border-color: #1351b4;
}

.input-field::placeholder {
    color: #999;
}

.input-field.error {
    border-color: #dc3545;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    color: #721c24;
    font-size: 14px;
    line-height: 1.4;
}

.error-icon {
    color: #dc3545;
    flex-shrink: 0;
}

.continue-btn {
    width: 100%;
    background-color: #1351b4;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.continue-btn:hover {
    background-color: #0f3a7a;
}

.login-divider {
    margin-bottom: 24px;
    position: relative;
}

.divider-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.login-divider::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #e1e5e9;
    margin-top: 16px;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-option:hover {
    background-color: #f8f9fa;
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.option-text {
    font-size: 14px;
    color: #1351b4;
    font-weight: 500;
}

.option-badge {
    font-size: 10px;
    color: #666;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    align-self: flex-start;
}

.login-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.help-section {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1351b4;
    font-size: 14px;
    cursor: pointer;
}

.help-icon {
    color: #1351b4;
    flex-shrink: 0;
}

.footer-links {
    font-size: 14px;
    color: #1351b4;
    cursor: pointer;
}

.footer-links:hover,
.help-section:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-main {
        padding: 20px 16px;
        min-height: calc(100vh - 70px);
    }

    .login-card {
        padding: 24px;
    }

    .login-title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .option-header {
        gap: 8px;
    }

    .option-icon {
        width: 20px;
        height: 20px;
    }

    .option-title {
        font-size: 15px;
    }

    .input-field {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .continue-btn {
        padding: 14px;
        font-size: 15px;
    }

    .login-option {
        padding: 8px 0;
        gap: 12px;
    }

    .option-text {
        font-size: 13px;
    }

    .option-badge {
        font-size: 9px;
    }
}

/* Captcha Modal */
.captcha-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.captcha-content {
    background: white;
    border-radius: 8px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.captcha-header {
    text-align: left;
    margin: -24px -24px 20px -24px;
    padding: 16px 24px;
    background-color: #2e7d63;
    border-radius: 8px 8px 0 0;
}

.captcha-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.captcha-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
}

.captcha-header .highlight {
    color: white;
    font-weight: 700;
}

.captcha-header p {
    font-size: 12px;
    color: white;
    margin: 0;
    opacity: 0.9;
}

.captcha-reference {
    background: #f0f8ff;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: center;
}

.reference-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #1351b4;
}

.captcha-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.grid-item {
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.grid-item:hover {
    border-color: #1351b4;
    transform: scale(1.02);
}

.grid-item.selected {
    border-color: #1351b4;
    background-color: rgba(19, 81, 180, 0.1);
}

.grid-item.selected::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 4px;
    background: #1351b4;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.grid-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.captcha-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #e1e5e9;
}

.captcha-refresh,
.captcha-audio,
.captcha-help {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.captcha-refresh:hover,
.captcha-audio:hover,
.captcha-help:hover {
    background-color: #f5f5f5;
    color: #1351b4;
}

.captcha-advance {
    background-color: #1351b4;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.captcha-advance:hover:not(:disabled) {
    background-color: #0f3a7a;
}

.captcha-advance:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}



@media (max-width: 360px) {
    .login-main {
        padding: 16px 12px;
    }

    .login-card {
        padding: 20px;
    }

    .captcha-content {
        padding: 16px;
        max-width: 95%;
    }

    .reference-image {
        width: 100px;
        height: 100px;
    }

    .grid-image {
        height: 60px;
    }

    .captcha-header h3,
    .captcha-header h4 {
        font-size: 13px;
    }
}

/* Estilos específicos para a tela de senha */
.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #1351b4;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.cancel-btn,
.enter-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 48px;
}

.cancel-btn {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.cancel-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.enter-btn {
    background: #1351b4;
    color: white;
}

.enter-btn:hover {
    background: #0d4494;
}

.enter-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.input-field[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .button-group {
        flex-direction: column;
        gap: 8px;
    }

    .cancel-btn,
    .enter-btn {
        width: 100%;
    }
}

.terms-main {
    background-color: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
}

.terms-container {
    max-width: 800px;
    width: 100%;
}

.terms-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 32px;
    margin-bottom: 24px;
}

.terms-main-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 32px;
    text-align: left;
    border-left: 4px solid #1351b4;
    padding-left: 16px;
}

.terms-section {
    margin-bottom: 32px;
}

.terms-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1351b4;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.terms-content {
    background-color: #f8f9fa;
    padding: 24px;
    border-radius: 6px;
    border-left: 3px solid #1351b4;
}

.terms-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.terms-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}

.terms-description strong {
    color: #1351b4;
    font-weight: 600;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.terms-list li::before {
    content: "•";
    color: #1351b4;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 16px;
}

/* Responsivo para página de termos */
@media (max-width: 768px) {
    .terms-main {
        padding: 16px;
    }

    .terms-card {
        padding: 24px;
    }

    .terms-main-title {
        font-size: 20px;
    }

    .terms-section-title {
        font-size: 16px;
    }

    .terms-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .terms-card {
        padding: 20px;
    }

    .terms-main-title {
        font-size: 18px;
        padding-left: 12px;
    }

    .terms-content {
        padding: 16px;
    }
}

/* Estilos para o documento completo scrollável */
.terms-document-section {
    margin-top: 24px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: white;
}

.terms-document-header {
    background-color: #f8f9fa;
    padding: 16px 20px;
    border-bottom: 1px solid #e1e5e9;
    border-radius: 8px 8px 0 0;
}

.document-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.document-subtitle {
    font-size: 13px;
    color: #666;
    margin: 0;
    font-style: italic;
}

.terms-scrollable-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: white;
    border-radius: 0 0 8px 8px;
}

.terms-item {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.terms-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-item-number {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.terms-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.terms-text strong {
    color: #1351b4;
    font-weight: 600;
}

.terms-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.terms-bullet-list li {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}

.terms-bullet-list li::before {
    content: "•";
    color: #1351b4;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 14px;
}

.terms-subsection-title {
    font-size: 14px;
    font-weight: 600;
    color: #1351b4;
    margin: 20px 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.terms-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e1e5e9;
    text-align: center;
}

.terms-update-info,
.terms-version {
    font-size: 12px;
    color: #666;
    margin: 4px 0;
}

.terms-version {
    font-style: italic;
}

/* Customizar scrollbar */
.terms-scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.terms-scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.terms-scrollable-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.terms-scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Responsivo para documento scrollável */
@media (max-width: 768px) {
    .terms-scrollable-content {
        max-height: 350px;
        padding: 16px;
    }

    .terms-document-header {
        padding: 12px 16px;
    }

    .document-title {
        font-size: 15px;
    }

    .document-subtitle {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .terms-scrollable-content {
        max-height: 300px;
        padding: 12px;
    }

    .terms-item {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .terms-item-number {
        font-size: 14px;
    }

    .terms-text {
        font-size: 13px;
    }

    .terms-bullet-list li {
        font-size: 13px;
    }
}

.accept-terms-section {
    margin-top: 24px;
}

.accept-terms-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 24px;
}

.accept-terms-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.terms-switch-container {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #1351b4;
}

input:checked+.slider:before {
    transform: translateX(22px);
}

.switch-text {
    flex: 1;
}

.switch-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.terms-accepted-message {
    margin-top: 16px;
    display: none;
}

.terms-accepted-message.show {
    display: block;
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #d4edda;
    color: #155724;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #c3e6cb;
}

.success-badge svg {
    color: #28a745;
}

.cep-consultation-section {
    margin-top: 24px;
    display: none;
}

.cep-consultation-section.show {
    display: block;
}

.cep-consultation-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 24px;
}

.consultation-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.cep-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cep-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cep-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.cep-input-container {
    position: relative;
}

.cep-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    background: white;
    transition: border-color 0.3s;
}

.cep-input:focus {
    outline: none;
    border-color: #1351b4;
    box-shadow: 0 0 0 2px rgba(19, 81, 180, 0.1);
}

.cep-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #6c9bd1;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cep-search-btn:hover {
    background-color: #5a87c7;
}

.cep-search-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .terms-switch-container {
        flex-direction: column;
        gap: 12px;
    }

    .switch {
        align-self: flex-start;
    }

    .accept-terms-card,
    .cep-consultation-card {
        padding: 20px;
    }

    .cep-search-btn {
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {

    .accept-terms-card,
    .cep-consultation-card {
        padding: 16px;
    }

    .accept-terms-title,
    .consultation-title {
        font-size: 16px;
    }

    .switch-text p {
        font-size: 13px;
    }

    .cep-search-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-modal.show {
    display: flex;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1351b4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.vagas-main {
    background-color: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
}

.vagas-container {
    max-width: 800px;
    margin: 0 auto;
}

.vagas-header {
    margin-bottom: 40px;
    text-align: left;
}

.vagas-title {
    font-size: 24px;
    font-weight: 700;
    color: #1351b4;
    margin: 0 0 12px 0;
    border-left: 4px solid #1351b4;
    padding-left: 16px;
}

.vagas-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.vagas-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stat-blue {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.stat-blue .stat-number {
    color: #1976d2;
}

.stat-blue .stat-label {
    color: #1565c0;
}

.stat-green {
    background-color: #e8f5e8;
    border-color: #4caf50;
}

.stat-green .stat-number {
    color: #388e3c;
}

.stat-green .stat-label {
    color: #2e7d32;
}

.stat-orange {
    background-color: #fff3e0;
    border-color: #ff9800;
}

.stat-orange .stat-number {
    color: #f57c00;
}

.stat-orange .stat-label {
    color: #ef6c00;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .vagas-main {
        padding: 20px 16px;
    }

    .vagas-header {
        margin-bottom: 30px;
    }

    .vagas-title {
        font-size: 20px;
        padding-left: 12px;
    }

    .vagas-subtitle {
        font-size: 14px;
    }

    .vagas-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .vagas-main {
        padding: 16px 12px;
    }

    .vagas-title {
        font-size: 18px;
        padding-left: 10px;
    }

    .vagas-subtitle {
        font-size: 13px;
    }

    .stat-card {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }
}

.modalidades-section {
    margin-top: 50px;
}

.modalidades-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0;
    text-align: left;
}

.modalidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.modalidade-card {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.modalidade-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.modalidade-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.modalidade-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.modalidade-b {
    background-color: #1976d2;
}

.modalidade-a {
    background-color: #388e3c;
}

.modalidade-ab {
    background-color: #f57c00;
    font-size: 16px;
}

.modalidade-info {
    flex: 1;
}

.modalidade-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.modalidade-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.modalidade-details {
    space-y: 16px;
}

.price-section {
    margin-bottom: 16px;
}

.price-normal,
.price-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.price-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.price-value {
    font-size: 16px;
    font-weight: 600;
}

.price-value.striked {
    color: #999;
    text-decoration: line-through;
}

.price-value.social {
    color: #388e3c;
    font-size: 20px;
    font-weight: 700;
}

.modalidade-stats {
    margin-bottom: 16px;
}

.modalidade-stats .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.modalidade-stats .stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.modalidade-stats .stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #1976d2;
}

.vagas-limitadas {
    background-color: #e8f5e8;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.selecionar-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.selecionar-btn:hover {
    transform: translateY(-1px);
}

.selecionar-btn:active {
    transform: translateY(0);
}

.selecionar-b,
.selecionar-a,
.selecionar-ab {
    background-color: #1351b4;
}

.selecionar-b:hover,
.selecionar-a:hover,
.selecionar-ab:hover {
    background-color: #0d3d82;
}

@media (max-width: 768px) {
    .modalidades-section {
        margin-top: 40px;
    }

    .modalidades-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .modalidades-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modalidade-card {
        padding: 20px;
    }

    .modalidade-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .modalidade-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .modalidade-ab {
        font-size: 14px;
    }

    .modalidade-name {
        font-size: 16px;
    }

    .modalidade-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .modalidades-section {
        margin-top: 30px;
    }

    .modalidades-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .modalidade-card {
        padding: 16px;
    }

    .modalidade-header {
        gap: 10px;
        margin-bottom: 14px;
    }

    .modalidade-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .modalidade-ab {
        font-size: 12px;
    }

    .modalidade-name {
        font-size: 15px;
    }

    .modalidade-description {
        font-size: 12px;
    }

    .price-value.social {
        font-size: 18px;
    }

    .selecionar-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
}

.autoescolas-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.autoescolas-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e1e5e9;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: #f5f5f5;
}

.modal-body {
    padding: 20px 24px 24px;
}

.modal-loading {
    text-align: center;
    padding: 60px 20px;
}

.modal-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1351b4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.modal-loading .loading-text {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.cnh-selection-info {
    background-color: #e3f2fd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.selection-badge {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.selection-badge .price {
    color: #1351b4;
    font-weight: 700;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.location-icon {
    font-size: 14px;
}

.autoescolas-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.autoescola-card {
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 20px;
    background: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.autoescola-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.autoescola-info {
    margin-bottom: 16px;
}

.autoescola-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.autoescola-address {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
}

.autoescola-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.distance {
    font-size: 13px;
    color: #666;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 16px;
    color: #ddd;
}

.star.filled {
    color: #ffc107;
}

.rating-value {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.credenciada-badge {
    background-color: #e8f5e8;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 16px;
    display: inline-block;
}

.selecionar-autoescola-btn {
    width: 100%;
    padding: 12px 20px;
    background-color: #1351b4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.selecionar-autoescola-btn:hover {
    background-color: #0d3d82;
    transform: translateY(-1px);
}

.selecionar-autoescola-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .modal-header {
        padding: 20px 20px 16px;
    }

    .modal-title {
        font-size: 18px;
    }

    .modal-body {
        padding: 16px 20px 20px;
    }

    .cnh-selection-info {
        padding: 14px;
    }

    .autoescola-card {
        padding: 16px;
    }

    .autoescola-name {
        font-size: 16px;
    }

    .autoescola-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 10px;
        max-height: 95vh;
    }

    .modal-header {
        padding: 16px 16px 12px;
    }

    .modal-title {
        font-size: 16px;
    }

    .modal-body {
        padding: 12px 16px 16px;
    }

    .cnh-selection-info {
        padding: 12px;
    }

    .selection-badge {
        font-size: 13px;
    }

    .location-info {
        font-size: 12px;
    }

    .autoescola-card {
        padding: 14px;
    }

    .autoescola-name {
        font-size: 15px;
    }

    .autoescola-address {
        font-size: 13px;
    }

    .modal-loading {
        padding: 40px 16px;
    }

    .modal-loading .loading-text {
        font-size: 14px;
    }

    .modal-loading .loading-spinner {
        width: 32px;
        height: 32px;
    }
}

/* Estilos para a página de resumo */
.resumo-main {
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 80px 0 40px;
}

.resumo-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.resumo-card {
    background: #e8f5e8;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.resumo-title {
    color: #2e7d32;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px 0;
    text-align: left;
}

.resumo-content {
    margin-bottom: 24px;
}

.resumo-item {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.resumo-item:last-child {
    margin-bottom: 0;
}

.resumo-label {
    display: block;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.resumo-value {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.resumo-value.price {
    color: #2e7d32;
    font-size: 18px;
    font-weight: 700;
}

.resumo-value.next-step {
    color: #1976d2;
}

.agendar-btn {
    width: 100%;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 8px;
}

.agendar-btn:hover {
    background-color: #45a049;
}

.agendar-btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .resumo-main {
        padding: 80px 0 20px;
    }

    .resumo-container {
        padding: 0 16px;
    }

    .resumo-card {
        padding: 20px;
    }

    .resumo-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .resumo-item {
        padding: 14px;
    }

    .resumo-value {
        font-size: 15px;
    }

    .resumo-value.price {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .resumo-card {
        padding: 16px;
    }

    .resumo-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .resumo-item {
        padding: 12px;
        margin-bottom: 10px;
    }

    .resumo-label {
        font-size: 13px;
    }

    .resumo-value {
        font-size: 14px;
    }

    .resumo-value.price {
        font-size: 16px;
    }

    .agendar-btn {
        padding: 14px 16px;
        font-size: 15px;
    }
}

.agendar-main {
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 20px 20px 40px;
}

.agendar-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.agendar-header {
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.header-divider {
    width: 4px;
    height: 80px;
    background-color: #1976d2;
    flex-shrink: 0;
    margin-top: 4px;
}

.header-content {
    flex: 1;
}

.agendar-title {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.agendar-subtitle {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

.resumo-inscricao-section {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.resumo-section-title {
    color: #1976d2;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.resumo-dados {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resumo-linha {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.resumo-campo {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    min-width: 120px;
    flex-shrink: 0;
}

.resumo-valor-categoria,
.resumo-valor-escola {
    color: #1976d2;
    font-size: 15px;
    font-weight: 600;
}

.resumo-valor-preco {
    color: #2e7d32;
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .agendar-main {
        padding: 20px 16px 20px;
    }

    .agendar-container {
        padding: 0 16px;
    }

    .agendar-title {
        font-size: 24px;
    }

    .agendar-subtitle {
        font-size: 15px;
    }

    .header-divider {
        height: 60px;
    }

    .resumo-inscricao-section {
        padding: 20px;
    }

    .resumo-section-title {
        font-size: 17px;
    }

    .resumo-linha {
        flex-direction: column;
        gap: 4px;
    }

    .resumo-campo {
        min-width: auto;
        font-size: 14px;
    }

    .resumo-valor-categoria,
    .resumo-valor-escola,
    .resumo-valor-preco {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .agendar-title {
        font-size: 20px;
    }

    .agendar-subtitle {
        font-size: 14px;
    }

    .resumo-inscricao-section {
        padding: 16px;
    }

    .resumo-section-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .agendar-header {
        flex-direction: column;
        gap: 12px;
    }

    .header-divider {
        width: 3px;
        height: 30px;
        margin-bottom: 0;
        margin-top: 0;
    }
}

.calendario-section {
    margin-top: 32px;
}

.calendario-header {
    margin-bottom: 24px;
}

.calendario-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.calendario-icon {
    color: #1976d2;
}

.calendario-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.calendario-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px 16px;
}

.nav-btn {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover:not(:disabled) {
    background: #1976d2;
    color: white;
    border-color: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(25, 118, 210, 0.2);
}

.nav-btn:disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    border-color: #f0f0f0;
    box-shadow: none;
}

.mes-ano {
    color: #333;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    text-transform: lowercase;
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.calendario-grid {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.calendario-header-dias {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px;
}

.dia-semana {
    padding: 10px 4px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: capitalize;
    background: transparent;
}

.calendario-dias {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px;
}

.dia {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    border: none;
    color: #333;
}

.dia.outro-mes {
    color: #ddd;
    cursor: not-allowed;
    background: #f8f9fa;
    border: 1px solid #f0f0f0;
}

.dia.disponivel {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dia.disponivel:hover {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(25, 118, 210, 0.2);
}

.dia.indisponivel {
    color: #bbb;
    cursor: not-allowed;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
}

.dia.selecionado {
    background: #1976d2;
    color: white;
    border: 1px solid #1976d2;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.4);
    transform: translateY(-1px);
}

.dia.hoje {
    background: #fff3e0;
    color: #f57c00;
    border: 2px solid #f57c00;
    box-shadow: 0 2px 6px rgba(245, 124, 0, 0.2);
}

.informacoes-importantes {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.info-title {
    color: #1976d2;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    color: #1976d2;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.info-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .calendario-container {
        padding: 16px;
    }

    .calendario-nav {
        margin-bottom: 16px;
        padding: 10px 12px;
    }

    .mes-ano {
        font-size: 15px;
        padding: 6px 12px;
    }

    .nav-btn {
        width: 32px;
        height: 32px;
    }

    .calendario-grid {
        max-width: 100%;
    }

    .dia-semana {
        padding: 8px 2px;
        font-size: 11px;
    }

    .dia {
        font-size: 13px;
        min-height: 36px;
    }

    .informacoes-importantes {
        padding: 16px;
    }

    .info-list li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .calendario-container {
        padding: 12px;
    }

    .calendario-nav {
        margin-bottom: 12px;
        padding: 8px 10px;
    }

    .mes-ano {
        font-size: 14px;
        padding: 5px 10px;
    }

    .nav-btn {
        width: 28px;
        height: 28px;
    }

    .calendario-header-dias,
    .calendario-dias {
        padding: 2px;
        gap: 1px;
    }

    .dia-semana {
        padding: 6px 1px;
        font-size: 10px;
    }

    .dia {
        font-size: 12px;
        min-height: 32px;
        border-radius: 4px;
    }

    .informacoes-importantes {
        padding: 12px;
    }

    .info-list li {
        font-size: 12px;
        margin-bottom: 6px;
    }
}

.data-selecionada-section {
    margin-top: 32px;
}

.data-confirmacao {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.confirmacao-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.check-icon {
    color: #4caf50;
    flex-shrink: 0;
}

.confirmacao-title {
    color: #2e7d32;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.confirmacao-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-icon {
    color: #666;
    flex-shrink: 0;
}

.detail-text {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.detalhes-curso,
.local-aulas {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detalhes-title,
.local-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.curso-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.info-value {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.horario-detalhes {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.horario-detalhes div {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.local-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.escola-nome {
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.escola-endereco {
    color: #666;
    font-size: 14px;
}

.escola-distancia {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1976d2;
    font-size: 14px;
    font-weight: 500;
}

.location-icon {
    color: #1976d2;
    flex-shrink: 0;
}

.continuar-section {
    margin-top: 32px;
}

.continuar-btn {
    width: 100%;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.continuar-btn:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

@media (max-width: 768px) {

    .data-confirmacao,
    .detalhes-curso,
    .local-aulas {
        padding: 16px;
        margin-bottom: 20px;
    }

    .confirmacao-title {
        font-size: 15px;
    }

    .detalhes-title,
    .local-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .detail-text {
        font-size: 13px;
    }

    .info-row {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .info-value,
    .horario-detalhes {
        text-align: left;
    }

    .escola-nome {
        font-size: 15px;
    }

    .continuar-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Estilos para página de verificação */
.verificacao-main {
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 20px 20px 40px;
}

.verificacao-container {
    max-width: 600px;
    margin: 0 auto;
}

.verificacao-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.verificacao-title {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.verificacao-subtitle {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

/* Seção Dados Pessoais Verificados */
.dados-verificados-section {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.section-header-dados {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-header-dados .check-icon {
    color: #4caf50;
    flex-shrink: 0;
}

.section-title-dados {
    color: #2e7d32;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.dados-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dado-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dado-label {
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 500;
}

.dado-valor {
    color: #2e7d32;
    font-size: 16px;
    font-weight: 600;
}

.situacao-regular {
    color: #2e7d32;
}

/* Seção Localização Verificada */
.localizacao-verificada-section {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.section-header-localizacao {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-header-localizacao .location-icon {
    color: #1976d2;
    flex-shrink: 0;
}

.section-title-localizacao {
    color: #1976d2;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.localizacao-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.localizacao-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.localizacao-label {
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 500;
}

.localizacao-valor {
    color: #1976d2;
    font-size: 16px;
    font-weight: 600;
}

/* Seção de Ações */
.acoes-section {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.voltar-btn {
    flex: 1;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.voltar-btn:hover {
    background: #eeeeee;
    border-color: #ccc;
    transform: translateY(-1px);
}

.confirmar-btn {
    flex: 2;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.confirmar-btn:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

@media (max-width: 768px) {
    .verificacao-main {
        padding: 20px 16px 20px;
    }

    .verificacao-container {
        padding: 0;
    }

    .verificacao-title {
        font-size: 24px;
    }

    .verificacao-subtitle {
        font-size: 15px;
    }

    .dados-verificados-section,
    .localizacao-verificada-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .section-title-dados,
    .section-title-localizacao {
        font-size: 16px;
    }

    .dado-valor,
    .localizacao-valor {
        font-size: 15px;
    }

    .acoes-section {
        flex-direction: column;
        gap: 12px;
    }

    .voltar-btn,
    .confirmar-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .verificacao-header {
        flex-direction: column;
        gap: 12px;
    }

    .header-divider {
        height: 30px;
        margin-top: 0;
    }

    .verificacao-title {
        font-size: 22px;
    }

    .verificacao-subtitle {
        font-size: 14px;
    }

    .dados-verificados-section,
    .localizacao-verificada-section {
        padding: 16px;
    }

    .section-title-dados,
    .section-title-localizacao {
        font-size: 15px;
    }

    .dado-label,
    .localizacao-label {
        font-size: 13px;
    }

    .dado-valor,
    .localizacao-valor {
        font-size: 14px;
    }
}

/* Seção Dados da Inscrição CNH Social */
.inscricao-dados-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.section-header-inscricao {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.doc-icon {
    color: #1976d2;
    flex-shrink: 0;
}

.section-title-inscricao {
    color: #1976d2;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.inscricao-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inscricao-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.inscricao-item:last-child {
    border-bottom: none;
}

.inscricao-label {
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.inscricao-valor {
    color: #212529;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

.inscricao-valor-preco {
    color: #28a745;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    flex: 1;
}

@media (max-width: 768px) {
    .inscricao-dados-section {
        padding: 16px;
    }

    .inscricao-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px 0;
    }

    .inscricao-valor,
    .inscricao-valor-preco {
        text-align: left;
    }
}

/* Card Laranja Principal */
.card-laranja-principal {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.15);
    position: relative;
}

.card-laranja-principal::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff9800, #ffa726, #ffb74d);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.1;
}

/* Seção Verificação Facial */
.verificacao-facial-section {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    border-left: 4px solid #1976d2;
}

.facial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.facial-icon {
    color: #1976d2;
    flex-shrink: 0;
}

.facial-title {
    color: #1976d2;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.facial-info-box p {
    color: #1976d2;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.instrucoes-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0 24px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.instrucoes-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.instrucoes-header svg {
    color: #666;
    flex-shrink: 0;
}

.instrucoes-header h4 {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.instrucoes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instrucoes-list li {
    color: #666;
    font-size: 14px;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.instrucoes-list li::before {
    content: "🔹";
    position: absolute;
    left: 0;
    color: #666;
}

.facial-action {
    text-align: center;
    margin-top: 20px;
}

.iniciar-facial-btn {
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.iniciar-facial-btn:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

@media (max-width: 768px) {
    .card-laranja-principal {
        padding: 20px;
        margin-bottom: 24px;
        border-radius: 12px;
    }

    .card-laranja-principal::before {
        border-radius: 12px;
    }

    .verificacao-facial-section {
        padding: 16px;
    }

    .facial-info-box {
        flex-direction: column;
        gap: 8px;
    }

    .iniciar-facial-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Estilos para interface da câmera */
.camera-container {
    text-align: center;
}

.camera-preview {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 240px;
    margin: 0 auto 24px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-error {
    color: #f44336;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

.camera-error svg {
    color: #f44336;
    margin-bottom: 8px;
}

.camera-placeholder {
    color: #fff;
    text-align: center;
}

.camera-placeholder svg {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.camera-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.face-guide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 240px;
    pointer-events: none;
}

.face-outline {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    position: relative;
}

.face-outline::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px dashed rgba(33, 150, 243, 0.8);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.camera-controls {
    margin-top: 16px;
}

.capturar-btn {
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.capturar-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.capturar-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.capturar-btn:disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

/* Estilo para botão "Tentar Novamente" */
.capturar-btn.retry {
    background: #ff9800;
    color: white;
}

.capturar-btn.retry:hover {
    background: #f57c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

@media (max-width: 768px) {
    .camera-preview {
        height: 200px;
        max-width: 280px;
    }

    .face-guide {
        width: 150px;
        height: 200px;
    }

    .capturar-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* Estilos para loading de verificação */
.loading-container {
    color: #fff;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.loading-dots {
    display: flex;
    gap: 4px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: loading-pulse 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loading-pulse {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Seção Gerar Comprovante */
.comprovante-section {
    text-align: center;
    margin: 32px 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.gerar-comprovante-btn {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    min-width: 200px;
    justify-content: center;
}

.gerar-comprovante-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.4);
}

.gerar-comprovante-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.gerar-comprovante-btn:disabled:hover {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

.gerar-comprovante-btn.active {
    background: #28a745;
    animation: buttonActivate 0.6s ease-out, pulse-green 2s infinite;
}

.gerar-comprovante-btn.pulse {
    animation: pulse-green 2s infinite;
}

@keyframes buttonActivate {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .comprovante-section {
        margin: 24px 0;
        padding: 20px 16px;
    }

    .gerar-comprovante-btn {
        padding: 14px 24px;
        font-size: 15px;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .card-laranja-principal {
        padding: 16px;
        margin-bottom: 20px;
        border-radius: 10px;
        border-width: 1px;
    }

    .card-laranja-principal::before {
        border-radius: 10px;
    }
}