/* Reset e base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

/* Container styles */
.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    padding: 40px;
    margin: 20px auto;
    max-width: 1200px;
    width: 95%;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.8s ease-out;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    animation: shimmer 2s infinite;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Typography */
h1, h2, h3 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

h2 {
    font-size: 1.8rem;
    margin-top: 30px;
}

/* Form styles */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* Button styles */
.btn, button {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 5px;
}

.btn-primary, .btn-success {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover, .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    color: white;
    text-decoration: none;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    color: white;
    text-decoration: none;
}

.btn-warning {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(254, 202, 87, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #54a0ff 0%, #2e86de 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(84, 160, 255, 0.4);
}

/* Button animation effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Alert styles */
.alert {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: none;
    position: relative;
    overflow: hidden;
    animation: slideInAlert 0.5s ease-out;
}

@keyframes slideInAlert {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #e17055 0%, #d63031 100%);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, #fdcb6e 0%, #e84393 100%);
    color: white;
}

.alert-info {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
}

/* Table styles */
.table {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 20px 15px;
    border: none;
    position: relative;
}

.table th:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    cursor: pointer;
}

.table td {
    padding: 15px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Status indicators */
.status-online {
    background: linear-gradient(135deg, #00b894, #00cec9) !important;
    color: white !important;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-offline {
    background: linear-gradient(135deg, #e17055, #d63031) !important;
    color: white !important;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card styles */
.card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* List group styles */
.list-group-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
        width: 98%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        margin: 3px;
    }
    
    .table {
        font-size: 14px;
    }
    
    .table th,
    .table td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
    
    .table-responsive {
        border-radius: 15px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Pulse animation for important elements */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* Fade in animation for content */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Interactive elements */
.interactive:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Glass morphism effect for special elements */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
}

/* Success and error message styles */
.success {
    color: #00b894;
    font-weight: 600;
}

.error {
    color: #d63031;
    font-weight: 600;
}

/* Button container */
.button-container {
    text-align: center;
    margin: 20px 0;
}

/* Special effects for login page */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    text-align: center;
}

.login-container .container {
    padding: 50px 40px;
}

/* Floating labels effect */
.floating-label {
    position: relative;
    margin-bottom: 30px;
}

.floating-label input {
    padding-top: 20px;
}

.floating-label label {
    position: absolute;
    top: 15px;
    left: 20px;
    transition: all 0.3s ease;
    pointer-events: none;
    color: #999;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: 5px;
    font-size: 12px;
    color: #667eea;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

:root {
    --bg: #0b1220;
    --surface: #121826;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --primary: #60a5fa;
    --primary-700: #3b82f6;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #22c55e;
    --border: #1f2937;
    --shadow: 0 12px 32px rgba(0,0,0,0.45);
}

body {
    background: radial-gradient(1200px 600px at 0% 0%, #0b1220 0%, #0d1b2a 50%, #0b1220 100%);
    color: var(--text);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(96,165,250,0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(147,197,253,0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(236,72,153,0.06) 0%, transparent 40%);
    animation: float 18s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.container {
    background: rgba(18, 24, 38, 0.9);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.container::before { display: none; }

h1, h2, h3 {
    -webkit-text-fill-color: initial;
    background: none;
    color: var(--text);
}

h1 {
    font-size: 2.1rem;
}

h1::after {
    background: var(--primary);
}

label { color: var(--muted); }

input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
    background: #0f172a;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
    transform: none;
}

.btn,
button {
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.btn-primary { background: linear-gradient(135deg, #60a5fa, #3b82f6); color: #0b1220; }
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 0 0 3px rgba(96,165,250,0.35); }

.btn-success { background: linear-gradient(135deg, #34d399, #22c55e); color: #0b1220; }
.btn-success:hover { filter: brightness(1.05); box-shadow: 0 0 0 3px rgba(34,197,94,0.35); }

.btn-danger { background: linear-gradient(135deg, #f87171, #ef4444); color: #0b1220; }
.btn-danger:hover { filter: brightness(1.05); box-shadow: 0 0 0 3px rgba(239,68,68,0.35); }

.btn-info { background: linear-gradient(135deg, #93c5fd, #60a5fa); color: #0b1220; }
.btn-info:hover { filter: brightness(1.05); box-shadow: 0 0 0 3px rgba(147,197,253,0.35); }

.btn-warning { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #0b1220; }
.btn-warning:hover { filter: brightness(1.05); box-shadow: 0 0 0 3px rgba(245,158,11,0.35); }

.btn::before { display: none; }

.alert {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.alert-success { background: rgba(22,163,74,0.12); color: #bbf7d0; }
.alert-danger { background: rgba(239,68,68,0.12); color: #fecaca; }
.alert-warning { background: rgba(245,158,11,0.12); color: #fde68a; }
.alert-info { background: rgba(96,165,250,0.12); color: #bae6fd; }

.table {
    background: rgba(18, 24, 38, 0.85);
    box-shadow: var(--shadow);
    color: var(--text);
}
.table th {
    background: linear-gradient(135deg, #1f2937, #0f172a);
    color: #e5e7eb;
}
.table tbody tr:hover {
    background: rgba(96, 165, 250, 0.08);
    transform: none;
    box-shadow: none;
}

.status-online { background: #22c55e !important; color: #0b1220 !important; }
.status-offline { background: #ef4444 !important; color: #0b1220 !important; }

.card {
    background: rgba(18, 24, 38, 0.9);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.domain-card {
    background: rgba(18, 24, 38, 0.9);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.domain-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(96,165,250,0.25); }

.list-group-item {
    background: rgba(18, 24, 38, 0.9);
    border: 1px solid var(--border);
    color: var(--text);
}

.interactive:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(96,165,250,0.25); }

.pulse { animation: pulse 2s infinite; }

.glass { background: rgba(255,255,255,0.06); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.12); }

.price-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0b1220;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}

.price-badge:hover { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.5); transform: translateY(-1px); }

.price-total-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0b1220;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}

.price-badge-secondary {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #93c5fd, #60a5fa);
    color: #0b1220;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.35);
    margin-left: 6px;
}
