﻿

body {
    padding-top: 80px;
    /*background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);*/
    /*background-color: #f8f9fa;*/
    min-height: 100vh;
}


.navbar .container{
    padding-right: 15px;
    padding-left: 15px;
}
.navbar-custom {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    transition: all 0.3s ease;
}

    .navbar-custom.scrolled {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    }

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

    .navbar-brand:hover {
        transform: scale(1.05);
    }


.brand-icon {
    width: 38px;
    height: 38px;
    /*background: linear-gradient(135deg, var(--primary-color) 0%, #1a1d7e 100%);*/
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


    .brand-icon i {
        font-size: 1.2rem;
        color: white;
    }
    .brand-icon img {
        width: 3rem;
        color: white;
    }

.navbar-nav {
    gap:2rem;
}
    .navbar-nav li {
        vertical-align: middle;
        margin: auto;
    }
.nav-link {
    color: var(--title-color) !important;
    font-weight: 600;
    font-size: 0.83rem;
    padding: 8px 12px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}
  .nav-link:hover::before,
    .nav-link.active::before {
        opacity: 0.2;
    }

    .nav-link:hover {
        /*color: white !important;*/
        transform: translateY(-2px);
    }

    .nav-link.active {
        color: var(--secondary-color) !important;
        font-weight: 700;
    }

    .nav-link i {
        margin-left: 8px;
        font-size: 1.1rem;
    }




.btn-add-service {
    background: transparent;
    color: var(--accent-color) !important;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

    .btn-add-service:hover {
        background: var(--accent-color);
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 1px 4px rgba(247, 164, 0, 0.3);
    }

.btn-login {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    margin: 0 10px 0 10px;
}

    .btn-login:hover {
        background: var(--primary-color);
        color: white !important;
        transform: translateY(-2px);
    }

.btn-register {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    margin: 0 10px 0 10px;
}

    .btn-register:hover {
        background: var(--primary-color);
        color: white !important;
        transform: translateY(-2px);
    }

.user-dropdown {
    position: relative;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
}

    .user-avatar:hover {
        transform: scale(1.08);
        border-color: var(--primary-color);
    }

.dropdown-menu {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 10px;
    margin-top: 12px !important;
    min-width: 220px;
    left: auto !important;
    right: 0 !important;
}

    .dropdown-menu.show {
        animation: slideDown 0.2s ease;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .dropdown-item i {
        font-size: 1rem;
        color: var(--accent-color);
        width: 20px;
    }

    .dropdown-item:hover {
        background: rgba(20, 23, 108, 0.06);
        color: var(--primary-color);
        transform: translateX(-3px);
    }

.dropdown-divider {
    border-top: 1px solid #e9ecef;
    margin: 8px 0;
}

.dropdown-header {
    padding: 8px 15px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.dropdown-item.text-danger {
    color: #dc3545 !important;
}

    .dropdown-item.text-danger:hover {
        background: rgba(220, 53, 69, 0.08);
        color: #dc3545 !important;
    }

    .dropdown-item.text-danger i {
        color: #dc3545 !important;
    }

.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    order: -1;
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(20, 23, 108, 0.15);
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2314176c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 22px;
    height: 22px;
}

.navbar-toggler:hover {
    background: rgba(20, 23, 108, 0.05);
}

.notification-badge {
    position: absolute;
    top: -3px;
    left: -3px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}

.notification-icon {
    position: relative;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .notification-icon:hover {
        background: rgba(20, 23, 108, 0.05);
    }

    .notification-icon i {
        font-size: 1.2rem;
        color: var(--primary-color);
    }

/* Mobile Styles */
@media (max-width: 991px) {
    .navbar-brand {
        order: 0;
        margin: 0 auto;
    }

    .user-menu-mobile {
        order: 2;
    }

    .navbar-collapse {
        background: white;
        /*padding: 20px;*/
        border-radius: 12px;
        margin-top: 15px;
        /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);*/
        animation: slideRight 0.3s ease;
    }

    @keyframes slideRight {
        from {
            opacity: 0;
            transform: translateX(20px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .navbar-nav {
        gap: 5px;
    }

    .nav-link {
        padding: 10px 15px !important;
    }

    .mobile-buttons {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #e9ecef;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .mobile-buttons .btn {
            width: 100%;
        }
}

/* Demo Content */
.demo-content {
    padding: 60px 0;
}

.demo-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

    .demo-card h2 {
        color: var(--primary-color);
        font-weight: 700;
        margin-bottom: 20px;
        font-size: 1.6rem;
    }

    .demo-card p {
        color: #6c757d;
        line-height: 1.8;
    }

    .demo-card ul {
        color: #6c757d;
        line-height: 2;
    }

    .demo-card code {
        background: rgba(20, 23, 108, 0.08);
        color: var(--primary-color);
        padding: 3px 8px;
        border-radius: 5px;
        font-size: 0.9rem;
    }



.navbar-search {
    position: relative;
    max-width: 300px;
}

    .navbar-search input {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid var(--accent-color);
        color: white;
        padding: 8px 12px 8px 15px;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

        .navbar-search input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .navbar-search input:focus {
            background: rgba(255, 255, 255, 0.2);
            border-color: var(--secondary-color);
            outline: none;
            box-shadow: 0 0 0 0.2rem rgba(255, 211, 51, 0.2);
        }

    .navbar-search button {
        position: absolute;
        left: 0px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--accent-color);
        border: none;
        color: white;
        padding: 6px 12px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

        .navbar-search button:hover {
            background: var(--secondary-color);
            color: var(--primary-color);
            border: none;
        }