/* Responsive Design - Mobile & Tablet Optimizations */
@media screen and (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 24px 16px;
        border-radius: 16px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .logo-section .welcome {
        font-size: 18px;
    }
    
    .grid.two {
        grid-template-columns: 1fr;
    }
    
    .checks {
        grid-template-columns: 1fr;
    }
    
    button {
        padding: 14px 32px;
        font-size: 16px;
        width: 100%;
    }
    
    section {
        padding: 20px 16px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        margin: 10px;
        padding: 20px 12px;
    }
    
    h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    h2 {
        font-size: 16px;
    }
    
    input,
    select,
    textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    label {
        font-size: 14px;
    }
    
    .logo-section img {
        height: 50px;
        width: 50px;
    }
    
    .logo-section .welcome {
        font-size: 16px;
    }
}

/* Product delete button: red */
.admin-panel .product-delete-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 15px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    cursor: pointer;
    margin-left: 6px;
    transition: background 0.18s, color 0.18s;
}
.admin-panel .product-delete-btn:hover {
    background: #b91c1c;
}

/* Material delete button: gold/amber */
.admin-panel .material-delete-btn {
    background: #ffd700;
    color: #2d133b;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 15px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    margin-left: 6px;
    margin-top: 8px;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 1px 4px #ffd70044;
}
.admin-panel .material-delete-btn:hover {
    background: #fbbf24;
    color: #7c3aed;
}
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #1f2937;
}
body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #2d133b 0%, #7c3aed 100%);
    color: #e5e5e5;
    min-height: 100vh;
}

.container {
    max-width: 980px;
    margin: 24px auto;
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.container {
    max-width: 980px;
    margin: 40px auto;
    background: rgba(40, 20, 60, 0.85);
    padding: 40px 32px 32px 32px;
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(44, 0, 80, 0.25);
    border: 2px solid rgba(255, 215, 0, 0.18);
    backdrop-filter: blur(8px);
    position: relative;
}

h1 {
    margin: 0 0 6px;
    font-size: 28px;
}
h1 {
    margin: 0 0 10px;
    font-size: 38px;
    color: #ffd700;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1.5px;
}

.subtitle {
    margin: 0 0 24px;
    color: #4b5563;
}
.subtitle {
    margin: 0 0 32px;
    color: #e0c3fc;
    font-size: 20px;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.5px;
}

section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    section {
    margin-bottom: 16px;
    background: #fafafa;
}
    border: 1.5px solid #ffd700;
    border-radius: 18px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 16px 0 rgba(44, 0, 80, 0.10);
    padding: 28px 24px 18px 24px;
    transition: box-shadow 0.2s;
}
section:hover {
    box-shadow: 0 6px 32px 0 rgba(255, 215, 0, 0.18);
}

h2 {
        border: 1.5px solid #a259e6;
        border-radius: 12px;
        padding: 18px;
        margin-bottom: 18px;
        background: #f3e8ff;
        box-shadow: 0 1px 6px rgba(124,58,237,0.04);
    margin-top: 0;
    font-size: 18px;
}
h2 {
    margin-top: 0;
    font-size: 22px;
    color: #000000 !important;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    text-shadow: 0 1px 8px #2d133b33;
}

.grid {
    display: grid;
    gap: 12px;
}

.grid.two {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    margin-bottom: 10px;
}
label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
    color: #e5e5e5;
    margin-bottom: 12px;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

input,
select,
textarea {
    }
    .logo-section {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-bottom: 18px;
    }
    .logo-section img {
        height: 60px;
    .grid {
        display: grid;
        gap: 18px;
    }
    .grid.two {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
        width: 60px;
        object-fit: contain;
        border-radius: 12px;
        background: #ede9fe;
        border: 2px solid #a259e6;
        box-shadow: 0 2px 8px rgba(124,58,237,0.08);
    }
    .logo-section .welcome {
        font-size: 22px;
        color: #f8f4ff;
        font-weight: bold;
        letter-spacing: 0.5px;
    }
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    background: #fff;
}
input,
select,
textarea {
    width: 100%;
    border: 1.5px solid #0c0b00;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 16px;
    background: rgba(255,255,255,0.18);
    color: #2d133b;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(255,215,0,0.04);
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border: 2px solid #ffd700;
    box-shadow: 0 2px 12px #ffd70033;
}

textarea {
    resize: vertical;
}
textarea {
    resize: vertical;
    min-height: 48px;
}

.checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px 12px;
    margin-bottom: 10px;
}

.checks label {
    flex-direction: row;
    align-items: center;
    margin-bottom: 0;
    gap: 8px;
}

.checks input[type="checkbox"] {
    width: auto;
}

.actions {
    text-align: center;
    margin-top: 18px;
}

button {
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    background: #1f2937;
    color: #fff;
    cursor: pointer;
}

.checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px 18px;
    margin-bottom: 14px;
}
.checks label {
    flex-direction: row;
    align-items: center;
    margin-bottom: 0;
    gap: 10px;
    font-size: 15px;
    color: #e0c3fc;
}
.checks input[type="checkbox"] {
    width: auto;
    accent-color: #ffd700;
    transform: scale(1.2);
}
button:hover {
    background: #111827;
}
.actions {
    text-align: center;
    margin-top: 32px;
}
button {
    border: none;
    border-radius: 12px;
    padding: 16px 48px;
    font-size: 20px;
    background: linear-gradient(90deg, #ffd700 0%, #e0c3fc 100%);
    color: #2d133b;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 24px 0 rgba(255,215,0,0.18);
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: 2px solid #ffd700;
}
button:hover {
    background: linear-gradient(90deg, #e0c3fc 0%, #ffd700 100%);
    color: #7c3aed;
    box-shadow: 0 8px 32px 0 rgba(255,215,0,0.28);
}
