* {
    margin: 0;
    padding: 0;
}

body {
    background: #ededed;
}

.video-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    width: auto;
    height: auto;
}

.video-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px;
    /* Aumentado para transiÃ§Ã£o mais longa */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(216, 214, 196, 0.2) 60%, rgb(216 214 196) 100%);
    pointer-events: none;
}

.modal-telefone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-telefone-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.modal-telefone-body {
    padding: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.telefone-input-container {
    display: flex;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.telefone-input-container:focus-within {
    border-color: #007bff;
}

.country-selector {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-right: 1px solid #e1e5e9;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.country-selector:hover {
    background-color: #e9ecef;
}

.dropdown-arrow {
    font-size: 10px;
    color: #666;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.country-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.country-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.country-option:hover {
    background-color: #f8f9fa;
}

.country-option:last-child {
    border-bottom: none;
}

.country-option img {
    width: 20px;
    height: auto;
}

.flag-icon {
    width: 20px;
    height: auto;
}

.country-code {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

#telefone {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
    background: white;
}

#telefone::placeholder {
    color: #999;
}

.help-text {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.btn-salvar {
    width: 100%;
    margin: 10px 0 0 0;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #28a745;
    color: white;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.btn-cancelar {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #e1e5e9;
}

.btn-cancelar:hover {
    background-color: #e9ecef;
}

.btn-salvar {
    background-color: #28a745;
    color: white;
}

.form-group input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin-right: 5px;
    position: relative;
    top: 1.8px;
}

.form-group a {
    color: #28a745;
}

.btn-salvar:hover {
    background-color: #218838;
}

.btn-salvar:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.input-padrao {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

@media (max-width: 480px) {
    .modal-telefone-content {
        width: 95%;
        margin: 20px;
    }

    .modal-telefone-header,
    .modal-telefone-body {
        padding: 20px;
    }

    .modal-telefone-actions {
        flex-direction: column;
    }

    .btn-cancelar,
    .btn-salvar {
        width: 100%;
    }
}

.form-cadastro {
    display: block;
    padding-bottom: 50px;
}

.form-cadastro-header {
    margin: 40px 0 30px 0;
}

.form-cadastro-header h1 {
    font-size: 32px;
    text-align: center;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.form-cadastro-header p {
    text-align: left;
    font-size: 20px;
}

.form-cadastro form {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
}

.form-group {
    margin: 0 0 20px 0;
}

.form-group p {
    margin: 0 0 10px 0;
    font-weight: 500;
}

.form-group .estrangeiro {
    display: block;
    margin: 10px 0 0 0;
}

.alert_cadastro {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #dc3545;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-width: 350px;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
}

.alert_cadastro.show {
    opacity: 1;
    transform: translateX(0);
}

.alert_cadastro.hide {
    opacity: 0;
    transform: translateX(100%);
}

@media (max-width: 768px) {
    .alert_cadastro {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 13px;
    }
}

@media(min-width: 1024px) {
    .form-cadastro {
        width: 800px;
        margin: 0 auto;
    }

    .form-cadastro form {
        width: 600px;
        margin: 0 auto;
    }

    .video-container {
        height: 350px;
    }
}