
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0a0a0f;
    min-height: 100vh;
    color: #ffffff;
}


.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.login-body::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,0,204,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.login-box {
    background: rgba(20, 20, 30, 0.9);
    padding: 50px 40px;
    width: 380px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 0, 204, 0.3),
                inset 0 0 30px rgba(255, 0, 204, 0.1);
    border: 1px solid rgba(255, 0, 204, 0.3);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.login-box h2 {
    color: #ff00cc;
    margin-bottom: 30px;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 0, 204, 0.8);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 0, 204, 1), 0 0 50px rgba(255, 0, 204, 0.8);
    }
}

.login-box input {
    width: 100%;
    padding: 15px;
    margin: 12px 0;
    border: 2px solid rgba(255, 0, 204, 0.3);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-box input:focus {
    outline: none;
    border-color: #ff00cc;
    box-shadow: 0 0 15px rgba(255, 0, 204, 0.4);
}

.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.login-box button {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: linear-gradient(90deg, #ff00cc, #ff4fd8);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 0, 204, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-box button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.login-box button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(255, 0, 204, 0.6);
}

.login-box button:hover::before {
    left: 100%;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.login-footer a {
    color: #ff00cc;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: #ff4fd8;
    text-shadow: 0 0 10px rgba(255, 0, 204, 0.8);
}


.register-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px;
}

.register-box {
    background: rgba(20, 20, 30, 0.95);
    padding: 30px 35px;
    width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 0, 204, 0.3);
    border: 1px solid rgba(255, 0, 204, 0.3);
}


.register-box::-webkit-scrollbar {
    width: 8px;
}

.register-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.register-box::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff00cc, #ff4fd8);
    border-radius: 10px;
}

.register-box h2 {
    color: #ff00cc;
    margin-bottom: 20px;
    font-size: 26px;
    text-transform: uppercase;
}

.register-box input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.register-box input:focus {
    border-color: #ff00cc;
    box-shadow: 0 0 10px rgba(255, 0, 204, 0.3);
}

.register-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.register-box button {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ff00cc, #ff4fd8);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 204, 0.4);
}

.register-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 204, 0.5);
}

.register-box .login-footer {
    margin-top: 10px;
    padding-bottom: 10px;
}


.table-header-controls {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 50px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 0, 204, 0.2);
    z-index: 1000;
}

.logo-text {
    color: #ff00cc;
    font-size: 24px;
    font-weight: bold;
    margin-right: 40px;
    text-shadow: 0 0 20px rgba(255, 0, 204, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.table-header-controls button {
    background: transparent;
    border: 2px solid transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    cursor: pointer;
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.table-header-controls button:hover {
    color: #ff00cc;
    border-color: rgba(255, 0, 204, 0.5);
    background: rgba(255, 0, 204, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 204, 0.3);
}

.btn-add-product {
    border: 2px solid #ff00cc !important;
    color: #ff00cc !important;
}

.btn-add-product:hover {
    background: #ff00cc !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(255, 0, 204, 0.5) !important;
}

.logout-btn {
    margin-left: auto;
    background: transparent !important;
    border: 2px solid #e74c3c !important;
    color: #e74c3c !important;
}

.logout-btn:hover {
    background: #e74c3c !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5) !important;
}


.home-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url("../images/new.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px 40px;
    overflow: hidden;
}

.home-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(10, 10, 15, 0.7) 0%, 
        rgba(10, 10, 15, 0.4) 50%, 
        rgba(10, 10, 15, 0.8) 100%);
    z-index: 1;
}

.home-section h2 {
    position: relative;
    z-index: 2;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 0, 204, 0.8);
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
}

.home-section p {
    position: relative;
    z-index: 2;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
    margin-top: 30px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary {
    padding: 16px 40px;
    background: linear-gradient(90deg, #ff00cc, #ff4fd8);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255, 0, 204, 0.5);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 35px rgba(255, 0, 204, 0.7);
}

.btn-secondary {
    padding: 16px 40px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #ff00cc;
    color: #ff00cc;
    box-shadow: 0 0 25px rgba(255, 0, 204, 0.4);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.table-container {
    width: 92%;
    max-width: 1400px;
    margin: 100px auto 40px;
    padding: 0;
    border-radius: 20px;
    min-height: calc(100vh - 140px);
}


.services-bg {
    background: rgba(20, 20, 30, 0.6);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 204, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.services-bg h2 {
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
    color: #ff00cc;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    padding-bottom: 20px;
}

.services-bg h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff00cc, transparent);
}


.products-bg {
    background: rgba(20, 20, 30, 0.6);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 204, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.products-bg h2 {
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
    color: #ff00cc;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    padding-bottom: 20px;
}

.products-bg h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff00cc, transparent);
}


.addproduct-bg {
    background: rgba(20, 20, 30, 0.7);
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 204, 0.2);
    padding: 40px;
}

.addproduct-form {
    background: rgba(15, 15, 25, 0.95);
    padding: 50px;
    border-radius: 20px;
    width: 450px;
    text-align: center;
    box-shadow: 0 0 40px rgba(255, 0, 204, 0.3);
    border: 1px solid rgba(255, 0, 204, 0.3);
}

.addproduct-form h2 {
    color: #ff00cc;
    margin-bottom: 30px;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.addproduct-form input,
.addproduct-form textarea {
    width: 100%;
    padding: 15px;
    margin: 12px 0;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.addproduct-form input:focus,
.addproduct-form textarea:focus {
    outline: none;
    border-color: #ff00cc;
    box-shadow: 0 0 15px rgba(255, 0, 204, 0.3);
}

.addproduct-form input[type="file"] {
    padding: 12px;
    background: rgba(255, 0, 204, 0.1);
    border-style: dashed;
}

.addproduct-form button {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: linear-gradient(90deg, #ff00cc, #ff4fd8);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 0, 204, 0.4);
    transition: all 0.3s ease;
}

.addproduct-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 204, 0.6);
}


table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-top: 30px;
    background: transparent;
}

table thead tr {
    background: linear-gradient(90deg, rgba(255, 0, 204, 0.8), rgba(255, 79, 216, 0.8));
    border-radius: 15px;
}

table th {
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

table th:first-child {
    border-radius: 15px 0 0 15px;
}

table th:last-child {
    border-radius: 0 15px 15px 0;
}

table tbody tr {
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    border-radius: 15px;
}

table tbody tr:hover {
    background: rgba(255, 0, 204, 0.1);
    transform: scale(1.01);
    box-shadow: 0 5px 20px rgba(255, 0, 204, 0.2);
}

table td {
    padding: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    border-bottom: none;
}

table td:first-child {
    border-radius: 15px 0 0 15px;
}

table td:last-child {
    border-radius: 0 15px 15px 0;
}

table img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 0, 204, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 204, 0.2);
}

table button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

table button:first-child {
    background: #e74c3c;
    color: white;
}

table button:first-child:hover {
    background: #c0392b;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
    transform: translateY(-2px);
}

table button:last-child {
    background: #3498db;
    color: white;
}

table button:last-child:hover {
    background: #2980b9;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
    transform: translateY(-2px);
}

table td:nth-child(6) {
    color: #ff00cc;
    font-weight: bold;
    font-size: 18px;
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff00cc, #ff4fd8);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff4fd8;
}


@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 h2 {
        font-size: 32px;
    }
    
    .home-section p {
        font-size: 16px;
    }
    
    .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: 14px;
    }
    
    table img {
        width: 60px;
        height: 60px;
    }
    
    table button {
        padding: 8px 12px;
        font-size: 12px;
        margin: 2px;
    }
    
    .register-box {
        width: 90%;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .login-box,
    .addproduct-form {
        width: 90%;
        padding: 30px 20px;
    }
    
    .home-section {
        padding: 100px 20px 40px;
    }
    
    .home-section h2 {
        font-size: 26px;
    }
}