/**
 * Alli Social Guide Styles
 * Styles for the social media guide lead generation form
 */

.alli-social-guide-container {
    font-family: inherit;
    max-width: 500px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.alli-social-guide-content {
    padding: 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.alli-social-guide-step {
    display: none;
    animation: alliSocialGuideFadeIn 0.5s ease;
}

.alli-social-guide-step.active {
    display: block;
}

@keyframes alliSocialGuideFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.alli-social-guide-title {
    color: #000000;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.2;
    font-weight: bold;
}

.alli-social-guide-subtitle {
    color: #666666;
    font-size: 1em;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

.alli-social-guide-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alli-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.alli-form-field {
    display: flex;
    flex-direction: column;
    position: relative;
}

.alli-form-field label {
    color: #333333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.alli-form-field input {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
    background: #fafafa;
}

.alli-form-field input:focus {
    outline: none;
    border-color: #000000;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.alli-form-field input.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.alli-form-field .error-message {
    color: #dc3545;
    font-size: 0.85em;
    margin-top: 5px;
    font-weight: 500;
}

.alli-social-guide-btn {
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0 10px;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.alli-social-guide-btn-primary {
    background: #000000;
    color: white;
}

.alli-social-guide-btn-primary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.alli-social-guide-btn-secondary {
    background: #c2ab65;
    color: white;
}

.alli-social-guide-btn-secondary:hover {
    background: #d4bb75;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(194, 171, 101, 0.3);
}

.alli-social-guide-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.alli-social-guide-disclaimer {
    text-align: center;
    font-size: 0.85em;
    color: #666666;
    margin: 10px 0 0;
    line-height: 1.3;
}

.alli-social-guide-loading {
    text-align: center;
    padding: 40px;
}

.alli-social-guide-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #c2ab65;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: alliSocialGuideSpin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes alliSocialGuideSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.alli-social-guide-loading p {
    color: #666666;
    font-size: 1em;
    margin: 0;
}

/* Success Step Styles */
.alli-social-guide-success-icon {
    text-align: center;
    margin-bottom: 20px;
}

.alli-social-guide-success-title {
    color: #28a745;
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.alli-social-guide-success-message {
    color: #666666;
    font-size: 1em;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.4;
}

.alli-social-guide-next-steps {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.alli-social-guide-next-steps h4 {
    color: #000000;
    margin: 0 0 15px 0;
    font-size: 1.1em;
}

.alli-social-guide-next-steps ul {
    margin: 0;
    padding-left: 20px;
    color: #666666;
}

.alli-social-guide-next-steps li {
    margin-bottom: 8px;
    line-height: 1.3;
}

.alli-social-guide-cta {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.alli-social-guide-cta p {
    color: #666666;
    margin-bottom: 15px;
    font-size: 0.95em;
}

/* Form Error Styles */
.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    font-size: 0.9em;
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .alli-social-guide-container {
        margin: 20px;
        border-radius: 15px;
    }
    
    .alli-social-guide-content {
        padding: 30px 20px;
    }

    .alli-social-guide-title {
        font-size: 1.5em;
    }

    .alli-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .alli-form-field input {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .alli-social-guide-btn {
        padding: 16px 20px;
        font-size: 1em;
    }
    
    .alli-social-guide-next-steps {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .alli-social-guide-content {
        padding: 25px 15px;
    }
    
    .alli-social-guide-title {
        font-size: 1.3em;
    }
    
    .alli-social-guide-subtitle {
        font-size: 0.9em;
    }
}

/* Print styles */
@media print {
    .alli-social-guide-container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .alli-social-guide-btn {
        display: none;
    }
}

/* Hub Dashboard Styles */
.alli-hub-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.alli-avatar {
    flex-shrink: 0;
}

.alli-avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #c2ab65;
    object-fit: cover;
}

.alli-welcome h1 {
    margin: 0 0 10px 0;
    color: #000000;
    font-size: 2em;
    font-weight: bold;
}

.alli-tagline {
    margin: 0;
    color: #666666;
    font-size: 1.1em;
    line-height: 1.4;
}

.alli-hub-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.alli-stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s ease;
}

.alli-stat-card:hover {
    transform: translateY(-2px);
}

.alli-stat-card.alli-stat-primary {
    border-left-color: #c2ab65;
}

.alli-stat-icon {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    flex-shrink: 0;
}

.alli-stat-primary .alli-stat-icon {
    background: #c2ab65;
    color: white;
}

.alli-stat-content h3 {
    margin: 0 0 5px 0;
    color: #666666;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.alli-stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #000000;
    line-height: 1;
    margin-bottom: 5px;
}

.alli-stat-growth .alli-stat-period {
    color: #666666;
    font-size: 0.85em;
}

.alli-hub-features,
.alli-hub-activity,
.alli-hub-actions {
    margin-bottom: 40px;
}

.alli-hub-features h2,
.alli-hub-activity h2,
.alli-hub-actions h2 {
    color: #000000;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.alli-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.alli-feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.alli-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.alli-feature-coming-soon {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #c2ab65;
}

.alli-feature-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c2ab65;
    margin-bottom: 20px;
}

.alli-feature-content h3 {
    color: #000000;
    font-size: 1.3em;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.alli-feature-content p {
    color: #666666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.alli-feature-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.alli-feature-stat {
    text-align: center;
}

.alli-feature-stat-number {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
    line-height: 1;
}

.alli-feature-stat-label {
    font-size: 0.8em;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alli-feature-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.alli-btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.alli-btn-primary {
    background: #000000;
    color: white;
}

.alli-btn-primary:hover {
    background: #333333;
    color: white;
}

.alli-btn-secondary {
    background: #e9ecef;
    color: #666666;
}

.alli-btn-secondary:hover {
    background: #dee2e6;
    color: #495057;
}

.alli-btn-outline {
    background: transparent;
    color: #c2ab65;
    border: 2px solid #c2ab65;
}

.alli-btn-outline:hover {
    background: #c2ab65;
    color: white;
}

.alli-feature-shortcode {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.alli-feature-shortcode label {
    font-size: 0.85em;
    color: #666666;
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
}

.alli-feature-shortcode code {
    background: #000000;
    color: #c2ab65;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.alli-feature-shortcode code:hover {
    background: #333333;
    transform: scale(1.05);
}

.alli-coming-soon-features ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.alli-coming-soon-features li {
    padding: 8px 0;
    color: #666666;
    position: relative;
    padding-left: 20px;
}

.alli-coming-soon-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #c2ab65;
    font-weight: bold;
}

/* Activity Styles */
.alli-activity-list {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.alli-activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.alli-activity-item:last-child {
    border-bottom: none;
}

.alli-activity-item:hover {
    background: #f8f9fa;
}

.alli-activity-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c2ab65;
    flex-shrink: 0;
}

.alli-activity-content {
    flex: 1;
}

.alli-activity-main {
    margin-bottom: 5px;
}

.alli-activity-main strong {
    color: #000000;
    font-weight: 600;
}

.alli-activity-action {
    color: #666666;
    margin-left: 5px;
}

.alli-activity-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alli-activity-time {
    font-size: 0.85em;
    color: #999999;
}

.alli-activity-actions {
    flex-shrink: 0;
}

.alli-btn-icon {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666666;
}

.alli-btn-icon:hover {
    background: #f8f9fa;
    border-color: #c2ab65;
    color: #c2ab65;
}

.alli-activity-footer {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
}

/* Empty State */
.alli-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alli-empty-icon {
    margin-bottom: 20px;
    color: #c2ab65;
}

.alli-empty-state h3 {
    color: #000000;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.alli-empty-state p {
    color: #666666;
    margin-bottom: 25px;
}

/* Actions Grid */
.alli-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.alli-action-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.alli-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: inherit;
    text-decoration: none;
}

.alli-action-icon {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c2ab65;
    margin-bottom: 15px;
}

.alli-action-content h4 {
    color: #000000;
    margin: 0 0 8px 0;
    font-size: 1.1em;
    font-weight: bold;
}

.alli-action-content p {
    color: #666666;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Result Badges */
.alli-result-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

.alli-result-detect { background: #e3f2fd; color: #1565c0; }
.alli-result-sync { background: #e1f5fe; color: #0277bd; }
.alli-result-nurture { background: #f3e5f5; color: #7b1fa2; }
.alli-result-voice { background: #e8f5e8; color: #2e7d32; }
.alli-result-insights { background: #fff3e0; color: #ef6c00; }
.alli-result-ads { background: #fce4ec; color: #c2185b; }
.alli-result-social_guide { background: #f1f8e9; color: #558b2f; }

/* Mobile Responsive for Hub */
@media (max-width: 768px) {
    .alli-hub-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .alli-hub-stats {
        grid-template-columns: 1fr;
    }
    
    .alli-features-grid {
        grid-template-columns: 1fr;
    }
    
    .alli-feature-actions {
        flex-direction: column;
    }
    
    .alli-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .alli-activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .alli-activity-main,
    .alli-activity-meta {
        width: 100%;
    }
    
    .alli-activity-meta {
        justify-content: space-between;
    }
}