/* Custom CSS for Hosting Management System - Fawaz Tech Solutions */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
}

/* General Styles */
body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content area */
.container.mt-4 {
    flex: 1 0 auto;
    padding-bottom: 2rem;
}

/* Override Bootstrap Theme Colors */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--secondary-color);
}

/* Card Styling */
.card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: bold;
}

/* Login Page Styling */
.login-container {
    max-width: 400px;
    margin: 50px auto;
}

.login-logo {
    text-align: center;
    margin-bottom: 20px;
}

.login-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Dashboard Icons */
.dashboard-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Status Indicators */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-active {
    background-color: var(--success-color);
}

.status-warning {
    background-color: var(--warning-color);
}

.status-expired {
    background-color: var(--danger-color);
}

.status-suspended {
    background-color: var(--secondary-color);
}

/* Tables */
.table {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* Plan Cards */
.plan-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-header {
    padding: 20px;
    color: white;
    text-align: center;
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
}

.plan-features {
    padding: 20px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
}

.plan-features li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* Footer Styling */
.footer {
    flex-shrink: 0;
    background: linear-gradient(135deg, #343a40, #212529) !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.footer h5 {
    font-weight: 600;
    color: white;
}

.footer .text-muted {
    color: rgba(255,255,255,0.6) !important;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Animation for status changes */
@keyframes statusChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.status-change {
    animation: statusChange 0.5s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }
    
    .dashboard-icon {
        font-size: 2rem;
    }
    
    .footer .col-md-4 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer .text-md-end {
        text-align: center !important;
    }
} 