body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 20% 30%, #3b1c71, #020617);
    color: white;
    font-family: 'Poppins', sans-serif;
}

.background {
    background: radial-gradient(circle at 20% 30%, #3b1c71, #020617);
}

.dropdown-menu li a:hover {
    background: linear-gradient(90deg, #7b5cff, #3aa0ff);
}

.modal-content {
  border-radius: 15px;
}

.table td, .table th {
  vertical-align: middle;
}

button {
  transition: 0.2s ease;
}

button:hover {
  transform: scale(1.05);
}

.toast-bar {
    position: fixed;
    bottom: -130px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.84rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    opacity: 0;
}

.toast-bar.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.view-btn {
    background: linear-gradient(90deg, #7b5cff, #3aa0ff);
    border: none;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.text {
    color: rgba(255, 255, 255, 0.3);
}

.view-btn:hover {
    box-shadow: 0 0 15px #7b5cff;
}


.custom-navbar {
    background: rgba(10, 15, 30, 0.8);
    /* backdrop-filter: blur(14px); */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Logo */
.logo-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7b5cff, #3aa0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Search */
.search-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-wrapper input {
    background: transparent;
    color: white;
    width: 180px;
    font-size: 14px;
}

.search-wrapper input:focus {
    background: transparent !important;
    color: white;

}

.search-wrapper input::placeholder {
    color: #888;
}

.search-icon {
    color: #888;
    margin-right: 6px;
}

/* Cart */
.cart-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    color: white;
}

.cart-icon:hover {
    box-shadow: 0 0 10px #7b5cff;
}

/* Badge */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff4d4d;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 50%;
}

/* Button */
.add-btn {
    background: linear-gradient(90deg, #7b5cff, #3aa0ff);
    border: none;
    color: white;
    padding: 7px 18px;
    border-radius: 25px;
    font-size: 14px;
}

.add-btn:hover {
    box-shadow: 0 0 15px #7b5cff;
}


.product-card {
    height: 400px;
    border-radius: 7px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    /* backdrop-filter: blur(15px); */
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s;
}

.product-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* image */
.product-img {
    position: relative;
    background: #eee;
}

.product-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

/* badge */
.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #7b5cff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
}

/* heart icon */
.heart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 7px;
    border-radius: 50%;
    cursor: pointer;
}

/* body */
.product-body {
    padding: 15px;
}

.product-title {
    margin-top: 5px;
    font-weight: 600;
    color: white;
}

/* price */
.price {
    color: #3aa0ff;
    font-weight: 600;
}

/* rating */
.rating {
    color: gold;
    font-size: 12px;
}

/* gradient button */
.btn-gradient {
    background: linear-gradient(90deg, #7b5cff, #3aa0ff);
    border: none;
    color: white;
    border-radius: 10px;
}

.btn-gradient:hover {
    box-shadow: 0 0 15px #7b5cff;
}


/* VIEW CSS */
.view-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-img {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.view-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.price {
    color: #3aa0ff;
    font-weight: 600;
}

.desc {
    color: #aaa;
}

.btn-gradient2 {
    background: linear-gradient(90deg, #7b5cff, #3aa0ff);
    border: none;
    color: white;
    border-radius: 10px;
}

.container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

.form-card {
    width: 600px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.form-card h3 {
    font-weight: 600;
}

.form-card p {
    color: #aaa;
    font-size: 14px;
}

.input-box {
    margin-top: 20px;
}

.input-box label {
    font-size: 12px;
    color: #aaa;
    display: block;
    margin-bottom: 5px;
}

.input-box input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    outline: none;
    transition: 0.3s;
}

/* glowing focus */
.input-box input:focus {
    border: 1px solid #7b5cff;
    box-shadow: 0 0 10px #7b5cff;
}

/* gradient button */
.btn-glow {
    margin-top: 30px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;

    background: linear-gradient(90deg, #7b5cff, #3aa0ff);
    color: white;
    font-weight: 500;

    transition: 0.3s;
}

/* hover glow */
.btn-glow:hover {
    box-shadow: 0 0 20px #7b5cff;
}