
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0a0a0a;
    min-height: 100vh;
    color: #ffffff;
}






.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.login-body::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.login-box {
    background: rgba(20, 20, 20, 0.95);
    padding: 50px 40px;
    width: 400px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.login-box h2 {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
}

.login-box .subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.login-box input {
    width: 100%;
    padding: 16px;
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-box input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.login-box button {
    width: 100%;
    padding: 16px;
    margin-top: 25px;
    background: #d4af37;
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-box button:hover {
    background: #e5c048;
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.4);
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.login-footer a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: #fff;
}


.register-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0a0a0a;
    padding: 20px;
}

.register-box {
    background: rgba(20, 20, 20, 0.95);
    padding: 40px;
    width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
}


.register-box::-webkit-scrollbar {
    width: 6px;
}

.register-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.register-box::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

.register-box h2 {
    color: #d4af37;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}

.register-box .subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 25px;
}

.register-box input {
    width: 100%;
    padding: 14px;
    margin: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.register-box input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.register-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.register-box button {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: #d4af37;
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-box button:hover {
    background: #e5c048;
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.4);
}

.register-box .login-footer {
    margin-top: 20px;
}

.table-header-controls {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(71, 71, 69, 0.795);
    z-index: 1000;
}

.logo-text {
    color: #d4af37;
    font-size: 24px;
    font-weight: 700;
    margin-right: 40px;
    letter-spacing: 2px;
}

.table-header-controls button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.table-header-controls button:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.btn-add-product {
    background: #d4af37 !important;
    color: #0a0a0a !important;
    font-weight: 600 !important;
}

.btn-add-product:hover {
    background: #e5c048 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4) !important;
}

.logout-btn {
    margin-left: auto;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.logout-btn:hover {
    border-color: #e74c3c !important;
    color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.1) !important;
}


.home-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url("../images/jewelbg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 120px 80px 80px;
    overflow: hidden;
}

.home-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(10, 10, 10, 0.8) 40%, 
        rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
}

.home-section .tagline {
    position: relative;
    z-index: 2;
    color: #d4af37;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-section .tagline::before {
    content: "✦";
    color: #d4af37;
}

.home-section h2 {
    position: relative;
    z-index: 2;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
    max-width: 600px;
}

.home-section h2 span {
    color: #d4af37;
    font-style: italic;
}

.home-section p {
    position: relative;
    z-index: 2;
    font-size: 16px;
    max-width: 500px;
    margin: 0 0 40px 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.hero-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-primary {
    padding: 16px 32px;
    background: #d4af37;
    border: none;
    border-radius: 30px;
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e5c048;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #d4af37;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}


.table-container {
    width: 92%;
    max-width: 1400px;
    margin: 100px auto 40px;
    padding: 0;
    border-radius: 20px;
    min-height: calc(100vh - 140px);
}


.review-bg {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.1);
}

.review-bg h2 {
    font-size: 42px;
    margin-bottom: 50px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
}

.review-bg h2::after {
    content: "✦";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: #d4af37;
    font-size: 24px;
}

.review-bg h2 span {
    color: #d4af37;
    font-style: italic;
}


.add-review-section {
    background: rgba(30, 30, 30, 0.8);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.add-review-section h3 {
    color: #d4af37;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
}

.add-review-section form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.add-review-section input,
.add-review-section select,
.add-review-section textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.add-review-section input:focus,
.add-review-section select:focus,
.add-review-section textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.add-review-section textarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical;
}

.add-review-section select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d4af37'%3E%3Cpath d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

.add-review-section select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.add-review-section button {
    grid-column: 1 / -1;
    padding: 18px 40px;
    background: linear-gradient(135deg, #d4af37 0%, #b8960c 100%);
    border: none;
    border-radius: 10px;
    color: #0a0a0a;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.add-review-section button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #e5c048 0%, #d4af37 100%);
}


#review_msg {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 500;
}


.login-notice {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.login-notice p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.login-notice a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #d4af37;
    transition: all 0.3s ease;
}

.login-notice a:hover {
    color: #fff;
    border-bottom-color: #fff;
}


.review-bg table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-top: 30px;
}

.review-bg thead tr {
    background: transparent;
}

.review-bg th {
    color: #111113;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.review-bg tbody tr {
    background: rgba(30, 30, 30, 0.6);
    transition: all 0.4s ease;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-bg tbody tr:hover {
    background: rgba(50, 50, 50, 0.8);
    transform: translateX(10px) scale(1.01);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.review-bg td {
    padding: 25px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
}

.review-bg td:first-child {
    border-radius: 12px 0 0 12px;
    color: #d4af37;
    font-weight: 700;
    font-size: 18px;
}

.review-bg td:last-child {
    border-radius: 0 12px 12px 0;
}


.review-bg td:nth-child(2) {
    color: #d4af37;
    font-weight: 600;
}


.review-bg td:nth-child(3) {
    font-weight: 500;
    color: #fff;
}


.review-bg td:nth-child(4) {
    max-width: 400px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}


.review-bg td:nth-child(5) {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}


.review-bg td a {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.review-bg td a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}


@media (max-width: 968px) {
    .review-bg {
        padding: 30px 20px;
    }
    
    .add-review-section form {
        grid-template-columns: 1fr;
    }
    
    .add-review-section textarea,
    .add-review-section button {
        grid-column: 1;
    }
    
    .review-bg table {
        font-size: 13px;
    }
    
    .review-bg th,
    .review-bg td {
        padding: 15px 10px;
    }
}

@media (max-width: 768px) {
    .review-bg h2 {
        font-size: 28px;
    }
    
    .review-bg table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}











.products-bg {
    background: rgba(20, 20, 20, 0.6);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.products-bg h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
}

.products-bg h2 span {
    color: #d4af37;
}


.addproduct-bg {
    background: rgba(110, 104, 104, 0.8);
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 40px;
}

.addproduct-form {
    background: rgba(20, 20, 20, 0.95);
    padding: 50px;
    border-radius: 16px;
    width: 450px;
    text-align: center;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.addproduct-form h2 {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.addproduct-form .subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 30px;
}

.addproduct-form input,
.addproduct-form textarea {
    width: 100%;
    padding: 16px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.addproduct-form input:focus,
.addproduct-form textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.addproduct-form input[type="file"] {
    padding: 14px;
    background: rgba(212, 175, 55, 0.05);
    border-style: dashed;
    border-color: rgba(212, 175, 55, 0.3);
}

.addproduct-form button {
    width: 100%;
    padding: 16px;
    margin-top: 25px;
    background: #d4af37;
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.addproduct-form button:hover {
    background: #e5c048;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}


table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 30px;
    background: transparent;
}

table thead tr {
    background: transparent;
    border-bottom: 2px solid rgba(72, 68, 71, 0.696);
}

table th {
    color: rgba(16, 16, 16, 0.934);
    background: #d4af37;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

table tbody tr {
    background: rgb(20, 21, 21);
    transition: all 0.3s ease;
    border-radius: 12px;
}

table tbody tr:hover {
    background: rgba(131, 135, 135, 0.696);
    transform: translateX(5px);
}

table td {
    padding: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    border: none;
}

table td:first-child {
    border-radius: 12px 0 0 12px;
}

table td:last-child {
    border-radius: 0 12px 12px 0;
}

table img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

table button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}


table button:first-child {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

table button:first-child:hover {
    background: #e74c3c;
    color: white;
}


table button:last-child {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

table button:last-child:hover {
    background: #d4af37;
    color: #0a0a0a;
}


table td:nth-child(6) {
    color: #d4af37;
    font-weight: 700;
    font-size: 16px;
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e5c048;
}


@media (max-width: 768px) {
    .table-header-controls {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .logo-text {
        width: 100%;
        margin-bottom: 15px;
        margin-right: 0;
        text-align: center;
    }
    
    .home-section {
        padding: 100px 30px 60px;
        align-items: center;
        text-align: center;
    }
    
    .home-section h2 {
        font-size: 36px;
    }
    
    .home-section p {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .services-bg,
    .products-bg {
        padding: 30px 20px;
    }
    
    table {
        font-size: 13px;
    }
    
    table img {
        width: 60px;
        height: 60px;
    }
    
    table button {
        padding: 8px 12px;
        font-size: 11px;
        margin: 2px;
    }
    
    .register-box {
        width: 90%;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .login-box,
    .addproduct-form {
        width: 90%;
        padding: 30px 20px;
    }
    
    .home-section h2 {
        font-size: 28px;
    }
}











