﻿:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
}

html, body {
    min-width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe, #bae6fd);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    color: var(--dark-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.glass-card {
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    overflow: hidden;
}

    .glass-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 16px 48px rgba(31, 38, 135, 0.2);
    }

.glass-card {
    padding: 20px;
    margin-bottom: 25px;
}

    .glass-card:hover {
        transform: none;
    }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

    .card-header h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0;
    }

    .card-header .btn-header {
        padding: 6px 12px;
        font-size: 0.85rem;
        border-radius: 8px;
        background: rgba(99, 102, 241, 0.1);
        color: var(--primary-color);
        border: none;
        transition: all 0.3s ease;
        box-shadow: none;
    }

        .card-header .btn-header:hover {
            background: var(--primary-color);
            color: white;
            /*transform: translateY(-2px);*/
        }

/* Updated Button Styles */
.btn {
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
        /*transform: translateY(-2px);*/
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    }

    .btn-primary:active {
        /*transform: translateY(0);*/
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
    }

/* Secondary Button */
.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

    .btn-secondary:hover {
        background: white;
        /*transform: translateY(-2px);*/
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.15);
    }

/* Warning Button (for Boost action) */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

    .btn-warning:hover {
        background: linear-gradient(135deg, #f97316, #f59e0b);
        /*transform: translateY(-2px);*/
        box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
        color: white;
    }

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Outline Button Variant */
.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

    .btn-outline-primary:hover {
        background: rgba(37, 99, 235, 0.08);
        color: var(--primary-dark);
        border-color: var(--primary-dark);
    }

.btn-outline-success {
    background: transparent;
    color: var(--success-color);
    border: 2px solid var(--success-color);
    box-shadow: none;
}

    .btn-outline-success:hover {
        background: rgba(37, 99, 235, 0.08);
        color: var(--success-dark);
        border-color: var(--success-dark);
    }

.btn-outline-warning {
    background: transparent;
    color: var(--warning-color);
    border: 2px solid var(--warning-color);
    box-shadow: none;
}

    .btn-outline-warning:hover {
        background: rgba(37, 99, 235, 0.08);
        color: var(--warning-dark);
        border-color: var(--warning-dark);
    }

.btn-outline-danger {
    background: transparent;
    color: var(--danger-color);
    border: 2px solid var(--danger-color);
    box-shadow: none;
}

    .btn-outline-danger:hover {
        background: rgba(37, 99, 235, 0.08);
        color: var(--danger-dark);
        border-color: var(--danger-dark);
    }

/* Button Sizes */
.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 1rem;
}

/* Button with Icon */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

    .btn-ripple:after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
        opacity: 0;
        border-radius: 100%;
        transform: scale(1, 1) translate(-50%);
        transform-origin: 50% 50%;
    }

    .btn-ripple:focus:not(:active)::after {
        animation: ripple 0.6s ease-out;
    }

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Floating Action Button */
.btn-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Button Group Modern Style */
.btn-group-modern .btn {
    border-radius: 0;
    margin-right: 1px;
}

    .btn-group-modern .btn:first-child {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .btn-group-modern .btn:last-child {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        margin-right: 0;
    }

.hero-section {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle at 22% 36%, rgba(37, 99, 235, 0.08) 0%, transparent 25%), radial-gradient(circle at 85% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 13%);
    z-index: -1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    filter: blur(60px);
}

.shape-1 {
    position: fixed;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: 10%;
    left: -250px;
}

.shape-2 {
    position: fixed;
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: 10%;
    right: -200px;
}

.navbar {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 18px 0;
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        padding: 12px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar .logo {
        top: 13px;
        height: 60px;
        position: fixed;
        z-index: 9999;
        transition: all 0.5s linear;
    }

    .navbar.scrolled .logo {
        top: 11px;
        height: 52px;
        transition: all 0.5s linear;
    }

.nav-link {
    font-weight: 600;
    margin: 0 6px;
    color: var(--dark-color) !important;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        transition: width 0.4s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .nav-link.active::after {
        width: 100%;
    }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.display-4 {
    font-size: 3.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 1.3rem;
    color: var(--gray-color);
    font-weight: 400;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -12px;
        left: 0;
        width: -webkit-fill-available;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        border-radius: 2px;
    }

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        background: var(--primary-color);
        color: white !important;
        transform: translateY(-5px);
    }

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@media (max-width: 992px) {
    .display-4 {
        font-size: 2.75rem;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .stats-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.25rem;
    }

    .lead {
        font-size: 1.15rem;
    }
}
/* Modern Alert Messages */
.alert-modern {
    position: relative;
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    margin-bottom: 0;
}

    .alert-modern::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: currentColor;
        opacity: 0.3;
    }

    .alert-modern .alert-icon {
        margin-right: 12px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .alert-modern .alert-close {
        margin-left: auto;
        background: none;
        border: none;
        color: inherit;
        opacity: 0.7;
        cursor: pointer;
        transition: opacity 0.2s ease;
        padding: 0 0 0 12px;
    }

        .alert-modern .alert-close:hover {
            opacity: 1;
        }

/* Success Alert */
.alert-modern-success {
    background: rgba(16, 185, 129, 0.15);
    color: #0d9266;
}

    .alert-modern-success .alert-icon {
        color: #059669;
    }

/* Warning Alert */
.alert-modern-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #c27803;
}

    .alert-modern-warning .alert-icon {
        color: #f59e0b;
    }

/* Danger Alert */
.alert-modern-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

    .alert-modern-danger .alert-icon {
        color: #ef4444;
    }

/* Alert Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-modern {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .alert-modern {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

        .alert-modern .alert-icon {
            font-size: 1rem;
            margin-right: 10px;
        }
}

.progress {
    /*display: inline-table;*/
}

.fs-7 {
    font-size: 0.875rem;
}

.fs-8 {
    font-size: 0.75rem;
}

a {
    text-decoration: none;
}

/*Modern modal dialog start*/
:root {
    --primary-blue: #bae6fd;
    --primary-blue-dark: #7dd3fc;
    --primary-blue-darker: #38bdf8;
    --soft-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.modern-modal .modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}

.modern-modal .modal-header {
    background-color: var(--primary-blue);
    border-bottom: none;
    padding: 1rem;
}

.modern-modal .modal-title {
    font-weight: 600;
    color: #0369a1;
}

.modern-modal .btn-close {
    filter: brightness(0.5);
}

.modern-modal .modal-body {
    padding: 2rem;
    background-color: rgba(186, 230, 253, 0.1);
}

.modern-modal .modal-footer {
    border-top: none;
    background-color: white;
    padding: 1rem 1.5rem;
}

.modern-modal .btn-primary-footer {
    background-color: var(--primary-blue-darker);
    border-color: var(--primary-blue-darker);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    color: white;
    box-shadow: none;
}

    .modern-modal .btn-primary-footer:hover {
        background-color: #0ea5e9;
        border-color: #0ea5e9;
    }

.modern-modal .btn-secondary-footer {
    background-color: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: none;
}

    .modern-modal .btn-secondary-footer:hover {
        background-color: #f8fafc;
        color: #475569;
    }

.modern-modal .modal-footer {
    border-top: none;
    background: var(--footer-gradient);
    padding: 0.75rem 1rem;
    /*display: flex;*/
    /*justify-content: space-between;*/
    position: relative;
}

    .modern-modal .modal-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 1.5rem;
        right: 1.5rem;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(203, 213, 225, 0.5), transparent);
    }
/*Modern modal dialog end*/

.w-110 {
    width: 110px;
}

.w-95 {
    width: 95px;
}

.h-110 {
    height: 110px;
}

.h-95 {
    height: 95px;
}

.transform-none {
    transform: none !important;
}

.hide{
    display: none;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.form-control, .form-select {
    background: rgba(255, 255, 255, 0.35);
}
.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

@-moz-document url-prefix() {
    .form-select {
        padding-right: 2.5rem;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    }
}