@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

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

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glassmorphism Card */
.wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    width: 400px;
    padding: 40px;
    border-radius: 15px;
    color: white;
    position: relative;
    overflow: hidden;
}

h2 { text-align: center; margin-bottom: 20px; font-weight: 600; letter-spacing: 1px;}

.input-box { margin-bottom: 20px; position: relative; }

.input-box input {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    color: white;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.input-box input::placeholder { color: rgba(255,255,255,0.7); }
.input-box input:focus { border-bottom: 2px solid #fff; }

.btn {
    width: 100%;
    padding: 12px;
    background: white;
    color: #764ba2;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.toggle-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}
.toggle-link a { color: #fff; text-decoration: none; font-weight: bold; cursor: pointer; }
.toggle-link a:hover { text-decoration: underline; }

.remember-me { display: flex; align-items: center; font-size: 14px; margin-bottom: 15px;}
.remember-me input { margin-right: 8px; }

/* Dashboard uchun alohida stil */
.dash-container { text-align: center; color: white; }
.dash-info { background: rgba(0,0,0,0.2); padding: 20px; border-radius: 10px; margin: 20px 0; }

.error-msg { background: rgba(255, 0, 0, 0.6); padding: 10px; border-radius: 5px; margin-bottom: 15px; text-align: center; font-size: 14px; }
.success-msg { background: rgba(0, 255, 0, 0.6); padding: 10px; border-radius: 5px; margin-bottom: 15px; text-align: center; font-size: 14px; }

/* Yashirish klassi */
.hidden { display: none; }

/* ... Eski CSS kodlar ... */

/* Jadval dizayni */
.table-container {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto; /* Telefonda sig'masa yuradi */
}

table {
    width: 100%;
    border-collapse: collapse;
    color: white;
    margin-top: 10px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

th {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

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

/* Kichik forma dizayni */
.add-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.add-form h3 { margin-bottom: 15px; color: white; }