* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.main-wrapper {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #20B2AA 0%, #4682B4 50%, #1E90FF 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Geometric shapes for background */
.main-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.main-wrapper::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.geometric-shape-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
    z-index: 1;
}

.geometric-shape-2 {
    position: absolute;
    bottom: 30%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    z-index: 1;
}

.main-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.header-section {
    text-align: center;
    margin-bottom: 40px;
}

.header-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    position: relative;
}

.user-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.user-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #20B2AA, #17A2B8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 16px rgba(32, 178, 170, 0.3);
}

.welcome-section {
    text-align: center;
    margin-bottom: 35px;
}

.welcome-title {
    color: #2c3e50;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.welcome-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 400;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    color: #495057;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
    background-color: white;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 3;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
    z-index: 3;
}

.security-code-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.security-input {
    flex: 1;
}

.code-display {
    background: #e9ecef;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
    min-width: 70px;
    text-align: center;
}

.refresh-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    color: #20B2AA;
    background: rgba(32, 178, 170, 0.1);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 8px;
}

.form-check-label {
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
}

.forgot-link {
    color: #20B2AA;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-link:hover {
    color: #17A2B8;
    text-decoration: underline;
}

.signin-btn {
    background: linear-gradient(135deg, #20B2AA, #17A2B8);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 20px;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.signin-btn:hover {
    background: linear-gradient(135deg, #17A2B8, #138496);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(32, 178, 170, 0.3);
}

.card-footer-text {
    text-align: center;
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 25px;
    font-style: italic;
}

.page-footer {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 0.85rem;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .login-card {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .remember-forgot {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1.75rem;
    }
    
    .login-card {
        padding: 25px 20px;
    }
    
    .security-code-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .code-display {
        align-self: stretch;
    }
}


/* dashboard page */




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #20B2AA 0%, #17A2B8 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-logo {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.logo-text h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-text p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: 30px;
}

.nav-item.active .nav-link {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-right: 3px solid white;
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    background: #f8f9fa;
}

/* Top Bar */
.topbar {
    background: white;
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.page-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-icon {
    position: relative;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
}

.notification-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: #dc3545;
    border-radius: 50%;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e9ecef;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    display: block;
}

.user-role {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

/* Dashboard Content */
.dashboard-content {
    padding: 30px;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.summary-card {
    border-radius: 15px;
    padding: 25px;
    color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-teal {
    background: linear-gradient(135deg, #20B2AA, #17A2B8);
}

.card-blue {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
}

.card-dark-blue {
    background: linear-gradient(135deg, #2C5282, #2A4A6B);
}

.card-orange {
    background: linear-gradient(135deg, #FF8C42, #FF7A00);
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 8px;
}

.card-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.card-change {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

.card-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

/* Quick Actions */
.quick-actions-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.action-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
}

.icon-teal {
    background: linear-gradient(135deg, #20B2AA, #17A2B8);
}

.icon-blue {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
}

.icon-purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.action-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.action-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Recent Activities */
.recent-activities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.activity-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.activity-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.status-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.status-success {
    background: #28a745;
}

.status-warning {
    background: #ffc107;
}

.status-info {
    background: #17a2b8;
}

.activity-info {
    flex: 1;
}

.activity-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.activity-time {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

.activity-price {
    font-weight: 600;
    font-size: 0.95rem;
}

.activity-price {
    color: #20B2AA;
}

.price-success {
    color: #28a745;
}

.price-warning {
    color: #ffc107;
}

.price-info {
    color: #17a2b8;
}

/* User List Specific Styles */
.page-header {
    margin-bottom: 30px;
}

.page-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.page-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

.btn-add-user {
    background: linear-gradient(135deg, #20B2AA, #17A2B8);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(32, 178, 170, 0.2);
}

.btn-add-user:hover {
    background: linear-gradient(135deg, #17A2B8, #20B2AA);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(32, 178, 170, 0.3);
    color: white;
}

.search-section {
    margin-bottom: 30px;
}

.search-input-wrapper {
    position: relative;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.9rem;
}

.search-input {
    padding: 12px 15px 12px 45px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.15);
    outline: none;
}

.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.users-table {
    margin: 0;
    font-size: 0.95rem;
}

.users-table thead {
    background: #f8f9fa;
}

.users-table thead th {
    border: none;
    padding: 20px 15px;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-table tbody td {
    padding: 18px 15px;
    border-top: 1px solid #f1f3f4;
    vertical-align: middle;
    color: #495057;
}

.users-table tbody tr:hover {
    background: #f8f9fa;
}

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-action {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit {
    background: rgba(32, 178, 170, 0.1);
    color: #20B2AA;
}

.btn-edit:hover {
    background: #20B2AA;
    color: white;
    transform: translateY(-1px);
}

.btn-delete {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.btn-delete:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
}

/* Add User Form Styles */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    max-width: 900px;
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input {
    padding: 15px 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.15);
    background: white;
    outline: none;
}

.form-textarea {
    padding: 15px 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.form-textarea:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.15);
    background: white;
    outline: none;
}

.btn-save-user {
    background: linear-gradient(135deg, #20B2AA, #17A2B8);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(32, 178, 170, 0.2);
}

.btn-save-user:hover {
    background: linear-gradient(135deg, #17A2B8, #20B2AA);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(32, 178, 170, 0.3);
    color: white;
}

.btn-reset-form {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-reset-form:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

/* Responsive Design for Add User Form */
@media (max-width: 768px) {
    .form-container {
        padding: 25px;
        margin: 0 15px;
    }
    
    .btn-save-user,
    .btn-reset-form {
        margin-bottom: 10px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start !important;
    }
    
    .search-input-wrapper {
        max-width: 100%;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .users-table {
        min-width: 700px;
    }
}


@media (max-width: 992px) {
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    /* heaer hamburger start */
    .topbar {
        padding: 15px 20px;
        justify-content: space-between;
    }

    .topbar .topbar-left {
        flex: 1;
    }

    .topbar .topbar-right {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .topbar .menu-toggle {
        display: block !important;
    }
    

      /* heaer hamburger end */
    
    .dashboard-content {
        padding: 20px;
    }
    
    .summary-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .quick-actions {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .topbar {

        align-items: center;
        text-align: center;

    }
 
   
    
    .topbar-right {

        align-self: flex-end;

        margin: 0 auto;

}
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 1.5rem;
    }

    .recent-activities {

        grid-template-columns: 1fr;

    }
}

@media (max-width: 480px) {
    .dashboard-content {
        padding: 15px;
    }
    
    .summary-card {
        padding: 20px;
    }
    
    .action-card {
        padding: 20px;
    }
    
    .activity-card {
        padding: 20px;
    }
    
    .card-number {
        font-size: 1.8rem;
    }
}

/* Product Cards Styles */
.products-grid {
    margin-top: 20px;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image {
    /* width: 100%;
    height: 100%;
    object-fit: cover; */
    text-align: center;
}

.product-image img{height: 100% !important;}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #20B2AA;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.btn-view {
    background: linear-gradient(135deg, #20B2AA, #17A2B8);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-view:hover {
    background: linear-gradient(135deg, #17A2B8, #20B2AA);
    color: white;
    transform: translateY(-1px);
}

.btn-edit-product {
    background: linear-gradient(135deg, #20B2AA, #17A2B8);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-edit-product:hover {
    background: linear-gradient(135deg, #17A2B8, #20B2AA);
    color: white;
    transform: translateY(-1px);
}

.btn-delete-product {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-delete-product:hover {
    background: #c82333;
    color: white;
    transform: translateY(-1px);
}

/* Special styling for first card action buttons */
.product-card:first-child .product-actions {
    justify-content: space-between;
}

.product-card:first-child .btn-view {
    flex: 0 0 auto;
    min-width: 80px;
}

.product-card:first-child .btn-action {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:first-child .btn-edit {
    background: rgba(32, 178, 170, 0.1);
    color: #20B2AA;
}

.product-card:first-child .btn-edit:hover {
    background: #20B2AA;
    color: white;
    transform: translateY(-1px);
}

.product-card:first-child .btn-delete {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.product-card:first-child .btn-delete:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
}

/* Responsive Design for Products */
@media (max-width: 992px) {
    .products-grid .col-lg-3 {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-view,
    .btn-edit-product,
    .btn-delete-product {
        width: 100%;
    }
    
    .product-card:first-child .product-actions {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .product-card:first-child .btn-view {
        flex: 1;
        margin-right: 8px;
    }
}
/* new css for header badge start */
.topbar .notification-icon {
    display: inline-block;
}

.topbar .cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ec5656;
    color: #fff;
    font-size: 12px;
    padding: 1px 7px;
    border-radius: 50%;
    font-weight: bold;
}

/* new css for header badge end */

.float {
    position: sticky;
    top: 40px;
}

#adminLoginForm input.form-control {

    padding-left: 45px;

}

/* header hamburger start */
.topbar .menu-toggle {
    width: 30px;
    height: 22px;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
}

.topbar .menu-toggle span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #20B2AA;
    left: 0;
    transition: 0.3s ease;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.topbar .menu-toggle span:nth-child(1) {
    top: 0;
}

.topbar .menu-toggle span:nth-child(2) {
    top: 9px;
}

.topbar .menu-toggle span:nth-child(3) {
    top: 18px;
}

.topbar .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.topbar .menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.topbar .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

.topbar .menu-toggle {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}
/* header hamburger end */


@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
    }

    .topbar .topbar-right {
        margin-top: 15px;
    }

    .notification-icon {
        font-size: 1.5rem;
    }

    .topbar .topbar-right {
        gap: 30px;
    }
    .top-hambu {
        background: #fff;
        padding: 10px 5px;
        position: relative;
        z-index: 9999;
        border-radius: 5px;
        border: 1px solid #019f9b;
    }
    .notification-icon {
        font-size: 2rem;
    }
}

/* input radio's black color start */
input[type="radio"] {
    border: 1px solid #6a6a6a !important;
}
/* input radio's black color end */

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.ie-toggle {
    position: absolute;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    top: 10px;
}