/**
 * ==========================================
 * Auth Pages Utilities
 * ==========================================
 * Unified with Afelta Master Theme
 * Uses var(--primary) throughout
 * ==========================================
 */

/* Success Message */
.success-message {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #d1fae5;
    border: 2px solid #10b981;
    border-radius: 12px;
    color: #065f46;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.success-message svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.success-message p {
    margin: 0;
}

.success-message p:first-of-type {
    font-weight: 600;
}

.success-message p:last-of-type {
    font-size: 0.875rem;
}

/* Info Message */
.info-message {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fff5f2 0%, #fde8df 100%);
    border: 2px solid var(--primary, #e85d2f);
    border-radius: 12px;
    color: var(--primary-dark, #c94820);
}

.info-message-content {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.info-message svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary, #e85d2f);
}

.info-message p {
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--primary-dark, #c94820);
}

.info-message ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray-700, #374151);
}

.info-message li {
    margin-bottom: 0.375rem;
}

/* Input Icon */
.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400, #9ca3af);
    pointer-events: none;
}

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

/* Input Wrapper */
.input-wrapper {
    position: relative;
}

.input-wrapper .form-input {
    padding-left: 3rem !important;
}

/* Footer Link */
.footer-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600, #4b5563);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link a:hover {
    color: var(--primary, #e85d2f) !important;
}

.footer-link svg {
    width: 16px;
    height: 16px;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

/* Help Section */
.help-section {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--gray-50, #f9fafb);
    border-radius: 12px;
    border: 1px solid var(--gray-200, #e5e7eb);
}

.help-section h6 {
    font-weight: 700;
    color: var(--gray-700, #374151);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.help-section svg {
    width: 18px;
    height: 18px;
    color: var(--primary, #e85d2f);
}

.help-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    color: var(--gray-500, #6b7280);
    line-height: 1.6;
}

.help-section li {
    margin-bottom: 0.5rem;
}

.help-section a {
    color: var(--primary, #e85d2f);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.help-section a:hover {
    color: var(--primary-dark, #c94820);
}

/* Margin utility used in auth pages */
.u-mt-1-5 {
    margin-top: 1.5rem;
}

.u-bg-gray {
    background: var(--gray-100, #f3f4f6) !important;
    color: var(--gray-600, #4b5563) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .info-message {
        font-size: 0.875rem;
    }

    .info-message ul {
        font-size: 0.8125rem !important;
    }
}
