/* Cadastro Page Styles */
.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.success-message {
    color: #2ecc71;
    font-size: 16px;
    padding: 10px;
    margin-bottom: 15px;
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 3px solid #2ecc71;
    border-radius: 3px;
    animation: fadeIn 0.3s ease;
}

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

.password-requirements {
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-gray);
}

.password-requirements p {
    margin-bottom: 5px;
}

.password-requirements ul {
    list-style: none;
    padding-left: 5px;
}

.password-requirements li {
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.password-requirements i {
    margin-right: 5px;
    font-size: 12px;
}

.password-requirements .fa-times-circle {
    color: #e74c3c;
}

.password-requirements .fa-check-circle {
    color: #2ecc71;
}

.privacy-notice {
    margin: 20px 0;
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.5;
}

.data-collection-notice {
    margin-bottom: 20px;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
}

.btn-register {
    margin-bottom: 20px;
}

.login-link a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--color-dark);
}

.modal h2 {
    margin-top: 0;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.modal-body {
    margin-bottom: 20px;
}

.modal-body h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--color-dark);
    font-size: 18px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Responsive styles */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .password-requirements {
        font-size: 12px;
    }
    
    .privacy-notice,
    .data-collection-notice {
        font-size: 12px;
    }
}
