/*
 * @package BusinessSaleTheme
 * Extracted from: page-magic-link.css
 */
/* ============================================
   Enhanced Magic Link Page Styles
   ============================================ */

.magic-breadcrumb {
    background: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}
.magic-breadcrumb .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}
.magic-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}
.magic-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #64748b;
}
.magic-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

/* Hero Section */
.magic-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 40px 0 50px;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}
.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.highlight {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-description {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 24px;
}
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
}

/* Magic Page */
.magic-page {
    background: #f8fafc;
    padding: 60px 0;
}
.magic-layout {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
}

/* Magic Card */
.magic-card {
    background: white;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
}
.form-message.success {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.form-message.error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.message-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}
.form-message strong {
    display: block;
    margin-bottom: 4px;
}
.form-message p {
    margin: 0;
    font-size: 0.85rem;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 28px;
}
.form-header h2 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 700;
}
.form-header p {
    color: #64748b;
    margin: 0;
    font-size: 0.85rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #1e293b;
}
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.input-with-icon svg {
    position: absolute;
    left: 14px;
    color: #64748b;
}
.input-with-icon input {
    width: 100%;
    padding: 12px 12px 12px 42px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-sizing: border-box;
}
.input-with-icon input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-hint {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 6px;
}

/* Submit Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    width: 100%;
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.btn-outline {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #475569;
}
.btn-outline:hover {
    background: #f8fafc;
    border-color: #2563eb;
    color: #2563eb;
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Footer */
.form-footer {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.back-link, .help-link {
    font-size: 0.8rem;
    text-decoration: none;
}
.back-link {
    color: #64748b;
}
.back-link:hover {
    color: #2563eb;
}
.help-link {
    color: #2563eb;
}

/* Resend Section */
.resend-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}
.resend-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.resend-icon {
    font-size: 1.5rem;
}
.resend-header strong {
    display: block;
    font-size: 0.9rem;
}
.resend-header p {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
}
.resend-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
.resend-note {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0;
}

/* Info Sidebar */
.magic-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.info-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
}
.info-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.info-card h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}
.benefits-list, .security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.benefits-list li, .security-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.85rem;
}
.benefits-list svg {
    color: #10b981;
    flex-shrink: 0;
}
.security-list li {
    color: #475569;
}
.alt-login-link {
    display: inline-block;
    margin-top: 12px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.alt-login-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8rem;
    color: #64748b;
}
.alt-login-note a {
    color: #2563eb;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
    .magic-layout {
        grid-template-columns: 1fr;
    }
    .magic-info-sidebar {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .info-card {
        flex: 1;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .magic-card {
        padding: 24px;
    }
    .form-footer {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .magic-info-sidebar {
        flex-direction: column;
    }
    .trust-badges {
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .magic-card {
        padding: 20px;
    }
    .resend-actions {
        flex-direction: column;
        align-items: center;
    }
}

