
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1613243555978-636c48dc653c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ff88, #00ffee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease;
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

h2 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.5rem;
    color: #00ff88;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
}


form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.input-group {
    position: relative;
}

input, select, button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.radio-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

button[type="submit"] {
    background: linear-gradient(45deg, #00ff88, #00ffee);
    color: #1a1a1a;
    font-weight: 600;
    cursor: pointer;
    grid-column: 1 / -1;
}

button[type="submit"]:hover {
    opacity: 0.9;
    transform: scale(1.02);
}


.table-container {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

th, td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: rgba(0, 255, 136, 0.1);
    font-weight: 600;
}

tr:hover {
    background: rgba(255, 255, 255, 0.05);
}


.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.edit-btn, .delete-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-btn {
    background: rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.delete-btn {
    background: rgba(255, 0, 0, 0.3);
    color: #ff4444;
}

.edit-btn:hover, .delete-btn:hover {
    transform: scale(1.1);
}


.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 238, 0.1));
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    background: linear-gradient(45deg, #00ff88, #00ffee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}


@keyframes slideDown {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}


@media (max-width: 768px) {
    form {
        grid-template-columns: 1fr;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }
}
