:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --card-hover-transform: translateY(-5px);
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --accent-color: #4f46e5;
}

body {
    background: #f0f2f5;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.live-clock {
    font-family: 'Monaco', 'Consolas', monospace;
    font-weight: 600;
    color: var(--accent-color);
}

/* Dashboard Container */
.dashboard-container {
    padding: 3rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-header h2 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Card Styling */
.dashboard-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.95);
    border-color: white;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.dashboard-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Specific Card Colors */
.card-blue .card-icon-wrapper {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
}

.card-purple .card-icon-wrapper {
    background: linear-gradient(135deg, #f3e8ff 0%, #d8b4fe 100%);
    color: #9333ea;
}

.card-green .card-icon-wrapper {
    background: linear-gradient(135deg, #dcfce7 0%, #86efac 100%);
    color: #16a34a;
}

.card-orange .card-icon-wrapper {
    background: linear-gradient(135deg, #ffedd5 0%, #fdba74 100%);
    color: #ea580c;
}

.card-red .card-icon-wrapper {
    background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
    color: #dc2626;
}

.card-teal .card-icon-wrapper {
    background: linear-gradient(135deg, #ccfbf1 0%, #5eead4 100%);
    color: #0d9488;
}

.card-indigo .card-icon-wrapper {
    background: linear-gradient(135deg, #e0e7ff 0%, #a5b4fc 100%);
    color: #4f46e5;
}

.card-pink .card-icon-wrapper {
    background: linear-gradient(135deg, #fce7f3 0%, #f9a8d4 100%);
    color: #db2777;
}

/* vSphere Special Card */
.vsphere-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vsphere-card:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.vsphere-card .card-title {
    color: white;
}

.vsphere-card .card-desc {
    color: #94a3b8;
}

.vsphere-card .card-icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
}

/* Currency Widget */
.currency-widget {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.currency-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.currency-value {
    font-family: 'Monaco', monospace;
    font-weight: 700;
    color: var(--text-primary);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Generic Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.glass-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glass-header h3,
.glass-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
}

/* Form Styling */
.form-label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.8);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background: white;
}

.btn-primary-gradient {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}

.btn-primary-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(79, 70, 229, 0.3);
    color: white;
}

.table-glass {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    overflow: hidden;
}

.table-glass thead th {
    background: rgba(248, 250, 252, 0.8);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.table-glass tbody td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

.table-glass tbody tr:last-child td {
    border-bottom: none;
}