:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
    border-left: 4px solid;
}

.stat-card.primary { border-left-color: #0d6efd; }
.stat-card.success { border-left-color: #198754; }
.stat-card.info { border-left-color: #0dcaf0; }
.stat-card.warning { border-left-color: #ffc107; }

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin: 0.5rem 0;
}

.stat-label {
    font-size: 0.9rem;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-card {
    text-align: center;
    padding: 2rem 1rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3rem;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.profile-role {
    color: #adb5bd;
    font-size: 0.9rem;
}

.calculator-section {
    padding: 2rem;
}

.form-control, .form-select {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
    color: #fff !important;
}

.form-label {
    color: #e9ecef;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.result-card {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: #adb5bd;
}

.result-value {
    font-weight: bold;
    color: #fff;
}

.final-result {
    background: linear-gradient(135deg, #198754, #20c997);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
}

.section-title {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(13, 110, 253, 0.5);
    display: inline-block;
}

.navbar {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #fff !important;
}

.nav-link.active {
    color: #0dcaf0 !important;
    font-weight: bold;
}

.offcanvas {
    background: rgba(13, 15, 20, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: bold;
    color: #0dcaf0 !important;
}
