/* Custom Styles for VPN Control Panel */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand i {
    margin-right: 10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 80px 0;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
}

/* Pricing Cards */
.pricing-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card .card-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 20px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
}

.pricing-card .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.pricing-card .period {
    font-size: 1rem;
    color: #6c757d;
}

/* Dashboard Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card-header {
    background-color: white;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
}

/* Table Styles */
.table th {
    border-top: none;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.table td {
    vertical-align: middle;
}

/* Badges */
.badge {
    padding: 5px 10px;
    font-weight: 500;
}

/* Forms */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 8px 20px;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Alert Messages */
.alert {
    border-radius: 5px;
    border: none;
}

/* Login/Register Pages */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

/* Footer */
footer {
    margin-top: 50px;
}

/* Flag Icons */
.flag-icon {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .pricing-card {
        margin-bottom: 20px;
    }
}

/* Old Browser Compatibility */
.no-flexbox .row {
    overflow: hidden;
}

.no-flexbox .col-md-4 {
    float: left;
    width: 33.333%;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
}