/* Hormora Reports V2 - Frontend Styles */

/* ========================================
   REPORTS DASHBOARD STYLES
   ======================================== */

.hormora-reports-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hormora-reports-dashboard h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.hormora-report-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.hormora-report-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.report-header h3 {
    margin: 0;
    font-size: 22px;
    color: #2c3e50;
}

.tier-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-badge.tier-1 {
    background: #27ae60;
    color: #fff;
}

.tier-badge.tier-2 {
    background: #3498db;
    color: #fff;
}

.tier-badge.tier-3 {
    background: #f39c12;
    color: #fff;
}

.tier-badge.tier-4 {
    background: #e74c3c;
    color: #fff;
}

.report-content {
    line-height: 1.8;
    color: #555;
    font-size: 15px;
}

.report-content h1,
.report-content h2,
.report-content h3,
.report-content h4 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
}

.report-content p {
    margin-bottom: 15px;
}

.report-content ul,
.report-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.report-content li {
    margin-bottom: 8px;
}

.report-meta {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    color: #999;
    font-size: 13px;
}

.hormora-no-reports {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.hormora-no-reports h3 {
    font-size: 24px;
    color: #555;
    margin-bottom: 15px;
}

.hormora-no-reports p {
    font-size: 16px;
    color: #666;
}

.hormora-no-reports a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.hormora-no-reports a:hover {
    text-decoration: underline;
}

.hormora-error {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 4px;
    color: #856404;
}

.hormora-login-prompt {
    text-align: center;
    padding: 40px 20px;
    background: #e8f5e9;
    border-radius: 8px;
    border: 2px solid #27ae60;
}

.hormora-login-prompt a {
    color: #27ae60;
    font-weight: 600;
    text-decoration: none;
}

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

/* ========================================
   REGISTRATION GATE STYLES
   ======================================== */

.hormora-register-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
}

.gate-container {
    background: #fff;
    border-radius: 16px;
    padding: 60px 40px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}

.gate-container h1{
	    font-size: 85px !important;
    line-height: 1 !important;
}
.gate-icon {
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.gate-container h1 {
    font-size: 32px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.gate-description {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.gate-benefits {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: left;
}

.gate-benefits h3 {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    text-align: center;
}

.gate-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gate-benefits li {
    font-size: 16px;
    color: #555;
    padding: 12px 0;
    line-height: 1.6;
    border-bottom: 1px solid #e0e0e0;
}

.gate-benefits li:last-child {
    border-bottom: none;
}

.gate-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.gate-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gate-button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.gate-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.gate-button-secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.gate-button-secondary:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.button-icon {
    margin-right: 10px;
    font-size: 20px;
}

.gate-security {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.gate-security small {
    color: #999;
    font-size: 14px;
}

/* ========================================
   UPGRADE CTA STYLES
   ======================================== */

.hormora-upgrade-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.hormora-upgrade-cta h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #fff;
}

.hormora-upgrade-cta p {
    margin: 0 0 20px 0;
    font-size: 16px;
    opacity: 0.95;
}

.hormora-upgrade-button {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hormora-upgrade-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #667eea;
    text-decoration: none;
}

/* Tier-specific upgrade CTAs */
.hormora-upgrade-cta.tier-2 {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.hormora-upgrade-cta.tier-2 .hormora-upgrade-button {
    color: #3498db;
}

.hormora-upgrade-cta.tier-3 {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.hormora-upgrade-cta.tier-3 .hormora-upgrade-button {
    color: #f39c12;
}

.hormora-upgrade-cta.tier-4 {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.hormora-upgrade-cta.tier-4 .hormora-upgrade-button {
    color: #e74c3c;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hormora-reports-dashboard {
        padding: 15px;
    }
    
    .report-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tier-badge {
        margin-top: 10px;
    }
    
    .gate-container {
        padding: 40px 25px;
    }
    
    .gate-container h1 {
        font-size: 24px;
    }
    
    .gate-description {
        font-size: 16px;
    }
    
    .gate-benefits {
        padding: 20px;
    }
    
    .gate-button {
        padding: 15px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hormora-register-gate {
        padding: 20px 15px;
    }
    
    .gate-container {
        padding: 30px 20px;
    }
    
    .gate-container h1 {
        font-size: 22px;
    }
    
    .gate-benefits li {
        font-size: 14px;
    }
}

/* ========================================
   LOADING STATES
   ======================================== */

.hormora-loading {
    text-align: center;
    padding: 40px;
}

.hormora-loading::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .hormora-register-gate,
    .gate-actions,
    .hormora-upgrade-cta {
        display: none;
    }
    
    .hormora-report-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}
