/* Hosting Services Page Styles */
.hosting-stats {
    margin-bottom: 2rem;
}

.hosting-services {
    margin-bottom: 2rem;
}

/* Hosting Cards */
.hosting-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.hosting-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-light);
}

.hosting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.plan-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.plan-type {
    font-size: 0.875rem;
    color: var(--text-light);
    background: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: inline-block;
}

/* Hosting Details */
.hosting-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.detail-value {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 600;
    font-family: monospace;
}

/* Hosting Usage */
.hosting-usage {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.usage-item {
    margin-bottom: 0.75rem;
}

.usage-item:last-child {
    margin-bottom: 0;
}

.usage-label {
    font-size: 0.8rem;
    color: var(--text-medium);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.usage-text {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    text-align: right;
}

/* Progress Bars for Usage */
.progress-bar {
    height: 6px;
    background: var(--medium-gray);
    border-radius: 3px;
    overflow: hidden;
    margin: 0.25rem 0;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-blue);
    transition: width 0.3s ease;
    border-radius: 3px;
}

/* Warning states for high usage */
.progress-fill[style*="75%"],
.progress-fill[style*="80%"],
.progress-fill[style*="85%"] {
    background: var(--warning-yellow);
}

.progress-fill[style*="90%"],
.progress-fill[style*="95%"],
.progress-fill[style*="100%"] {
    background: var(--danger-red);
}

/* Hosting Actions */
.hosting-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hosting-actions .btn {
    flex: 1;
    min-width: 0;
}

/* Quick Actions Section */
.quick-actions-section {
    margin-top: 2rem;
}

.action-grid {
    gap: 1rem;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-medium);
}

.action-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.action-item i {
    font-size: 1.5rem;
}

.action-item span {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-green);
}

.status-dot.warning {
    background: var(--warning-yellow);
}

.status-dot.danger {
    background: var(--danger-red);
}

/* Server Metrics */
.server-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.metric-item {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Hosting Plan Upgrade Suggestions */
.upgrade-suggestion {
    background: var(--primary-blue-ultra-light);
    border: 1px solid var(--primary-blue-light);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.upgrade-suggestion h4 {
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.upgrade-suggestion p {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
}

.upgrade-suggestion .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hosting-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hosting-services {
        grid-template-columns: 1fr;
    }
    
    .hosting-actions {
        flex-direction: column;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .server-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hosting-stats {
        grid-template-columns: 1fr;
    }
    
    .hosting-card {
        padding: 1rem;
    }
    
    .hosting-header {
        flex-direction: column;
        gap: 1rem;
    }
}