:root {
    --primary: #2c5aa0;
    --primary-dark: #1e3d6f;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --border: #e9ecef;
}

body {
    font-family: 'Bree Serif', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.5;
    font-size: 0.9rem;
    padding: 0;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 25px;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.1rem;
}

.user-avatar {
    transition: all 0.3s ease;
}

.dropdown-toggle:hover .user-avatar {
    background: var(--primary-dark) !important;
    transform: scale(1.05);
}

.dropdown-menu {
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.dropdown-item {
    border-radius: 6px;
    margin: 2px 8px;
    width: auto;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-header {
    border-radius: 6px 6px 0 0;
}

.user-dropdown .dropdown-toggle {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.user-dropdown .dropdown-toggle:hover {
    color: var(--primary-dark);
}

.card {
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.2s ease;
    background: #fff;
}

.card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 8px 8px 0 0 !important;
    padding: 15px 20px;
    border: none;
    font-weight: 600;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.card-header-with-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-secondary {
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid #6c757d;
}

.form-control {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 10px 12px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}

.stats-card {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 12px;
}

.stats-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.filename-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filename-link {
    color: var(--primary);
    text-decoration: none;
}

.filename-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.filehost-link {
    text-decoration: none;
}

.filehost-link:hover {
    text-decoration: underline;
}

.ip-link {
    text-decoration: none;
}

.ip-link:hover {
    text-decoration: underline;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    vertical-align: middle;
    font-size: 0.85rem;
}

.pagination .page-link {
    color: var(--primary);
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    font-size: 0.8rem;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pagination .page-link:hover {
    color: var(--primary-dark);
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination .page-item.disabled .page-link {
    color: var(--secondary);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-info {
    font-size: 0.85rem;
    color: #6c757d;
}

.nav-tabs {
    border-bottom: 1px solid var(--border);
}

.nav-tabs .nav-link {
    border: none;
    padding: 12px 20px;
    font-weight: 500;
    color: var(--secondary);
    border-radius: 0;
}

.nav-tabs .nav-link.active {
    background: var(--primary);
    color: white;
    border: none;
}

.nav-tabs .nav-link:hover {
    border: none;
    color: var(--primary);
}

.tab-content {
    padding: 20px;
}

.profile-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.profile-info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: var(--secondary);
}

.info-value {
    font-weight: 600;
    color: var(--dark);
}

.premium-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.7rem;
}

.free-badge {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.7rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.status-active {
    background: var(--success);
}

.status-expired {
    background: var(--danger);
}

.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.strength-weak { background: var(--danger); width: 25%; }
.strength-medium { background: var(--warning); width: 50%; }
.strength-strong { background: var(--success); width: 75%; }
.strength-very-strong { background: var(--success); width: 100%; }

.message-alert {
    margin-bottom: 20px;
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.history-content {
    min-height: 200px;
}

.feature-card {
    text-align: center;
    padding: 20px 15px;
    border-left: 2px solid var(--primary);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.feature-icon i {
    font-size: 16px;
    color: white;
}

.accordion-button {
    border-radius: 6px !important;
    padding: 12px 15px;
    font-weight: 500;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-size: 0.875rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.result-container {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
}

.link-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    padding: 1px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.progress-bar {
    border-radius: 3px;
}

.update-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.update-item:last-child {
    border-bottom: none;
}

.section-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.server-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.server-status:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
}

.server-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.8rem;
}

.server-value {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.account-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.account-info:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.account-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.8rem;
}

.account-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.8rem;
}

.premium-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.plan-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0;
}

.plan-duration {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.payment-buttons {
    padding: 25px;
}

.btn-payment {
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-bottom: 10px;
}

.btn-paypal {
    background: linear-gradient(45deg, #0070ba, #1546a0);
    color: white;
}

.btn-paypal:hover {
    background: transparent;
    border-color: #0070ba;
    color: #0070ba;
    transform: translateY(-2px);
}

.btn-crypto {
    background: linear-gradient(45deg, #f7931a, #ff9900);
    color: white;
}

.btn-crypto:hover {
    background: transparent;
    border-color: #f7931a;
    color: #f7931a;
    transform: translateY(-2px);
}

.plan-selector-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    height: 100%;
}

.form-select {
    border-radius: 8px;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.savings-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
}

.price-comparison {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.info-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e9ecef;
}

.info-section h6 {
    margin-bottom: 10px;
    font-weight: 600;
    color: #495057;
}

.info-section ul {
    margin: 0;
    padding-left: 20px;
}

.info-section li {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #6c757d;
}

.col-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
}

.registration-modal .alert-info {
    background-color: #e8f4fd;
    border-color: #b6e0fe;
    color: #055160;
}

.registration-modal .alert-heading {
    color: #055160;
    font-size: 0.9rem;
    font-weight: 600;
}

.registration-modal .alert ul {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.registration-modal .alert ul li {
    margin-bottom: 0.25rem;
}

.registration-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
}

.registration-modal .modal-title {
    font-weight: 600;
}

.registration-modal .modal-body {
    padding: 30px;
}

.registration-modal .btn-continue {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
}
/* Homepage Specific Styles */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.step-number {
    font-weight: 700;
}

.host-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.host-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.feature-card {
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
/* Countdown Timer Styles */
.countdown-timer {
    font-family: 'Inter', monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

.countdown-timer span {
    display: inline-block;
    text-align: center;
    margin: 0 2px;
}

.countdown-timer .time-label {
    font-size: 0.6rem;
    font-weight: 400;
    display: block;
    margin-top: -2px;
    opacity: 0.8;
}
@media (min-width: 768px) {
    .col-card {
        width: 400px;
    }
}