* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.contain {
    max-width: 480px;
    width: 100%;
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-circle img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
    text-align: center;
}

.subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    text-justify: newspaper;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.input-wrapper {
    position: relative;
}

input[type="email"] {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="email"]:focus {
    outline: none;
    border-color: #6c5ce7;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.is-invalid {
    border-color: #ef4444 !important;
}

.invalid-feedback {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 5px;
}

.btn-primar {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a55eea 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primar:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.back-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.back-link a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
}

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

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@media (max-width: 768px) {
    .containers {
        padding: 0 20px;
    }
}
