/* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f4f4f9, #c1d9ff);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    transition: all 0.3s ease-in-out;
}


header {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

header:hover {
    background: linear-gradient(90deg, #0056b3, #003f8a);
}

header h1 {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background 0.4s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.container, .container1 {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin: 20px auto;
    transition: transform 0.3s ease;
}

.container:hover, .container1:hover {
    transform: translateY(-5px);
}

h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

label {
    display: block;
    margin-bottom: 8px;
    text-align: left;
    font-weight: bold;
    color: #444;
}

input[type="text"], input[type="password"], textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

button {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #218838;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(33, 136, 56, 0.3);
}

#registerBtn {
    background-color: #007bff;
}

#registerBtn:hover {
    background-color: #0069d9;
}

#qr-section img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 10px;
    transition: transform 0.3s ease;
}

#qr-section img:hover {
    transform: scale(1.1);
}

footer {
    text-align: center;
    padding: 15px;
    background: #007bff;
    color: white;
    position: relative;
    width: 100%;
    transition: background 0.3s ease;
    box-shadow: 0 -4px 10px rgba(0, 123, 255, 0.3);
}

footer:hover {
    background: #0056b3;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
    background: #333;
    color: white;
    transition: all 0.3s ease;
}

.nav-left h1 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}

.nav-right {
    display: flex;
    align-items: center;
}

#user-id {
    margin-right: 20px;
    color: #ddd;
    font-size: 16px;
}

#logout-button {
    padding: 8px 16px;
    background-color: #ff4d4d;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

#logout-button:hover {
    background-color: #e60000;
    transform: scale(1.05);
}
*/
/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f4f4f9, #c1d9ff);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background 0.4s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 500px;
    text-align: center;
    transition: transform 0.3s ease;
}

h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

label {
    display: block;
    margin-bottom: 8px;
    text-align: left;
    font-weight: bold;
    color: #444;
}

input[type="text"], input[type="password"],input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

button {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #218838;
    transform: scale(1.05);
}

#registerBtn {
    background-color: #007bff;
}

#registerBtn:hover {
    background-color: #0069d9;
}

footer {
    text-align: center;
    padding: 15px;
    background: #007bff;
    color: white;
    width: 100%;
    box-shadow: 0 -4px 10px rgba(0, 123, 255, 0.3);
}
     /* Dropdown styling 
        .user-dropdown {
            position: relative;
            display: inline-block;
        }

        .user-dropdown-button {
            cursor: pointer;
            color: white;
            background-color: transparent;
            border: none;
            font-size: 16px;
            font-weight: bold;
            padding: 5px 10px;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            right: 0;
            background-color: #007bff;
            min-width: 120px;
            box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
            z-index: 1;
            border-radius: 5px;
        }

        .dropdown-content button {
            background-color: #ff4d4d;
            color: white;
            border: none;
            width: 100%;
            padding: 10px;
            text-align: center;
            cursor: pointer;
            border-radius: 5px;
        }

        .dropdown-content button:hover {
            background-color: #e60000;
        }

        .user-dropdown:hover .dropdown-content {
            display: block;
        }
   	table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #f8f8f8;
}

table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f4f4f9, #c1d9ff);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background 0.4s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 500px;
    text-align: center;
    transition: transform 0.3s ease;
}

h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

label {
    display: block;
    margin-bottom: 8px;
    text-align: left;
    font-weight: bold;
    color: #444;
}

input[type="text"], input[type="password"], input, select,textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

button {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #218838;
    transform: scale(1.05);
}

#registerBtn {
    background-color: #007bff;
}

#registerBtn:hover {
    background-color: #0069d9;
}

footer {
    text-align: center;
    padding: 15px;
    background: #007bff;
    color: white;
    width: 100%;
    box-shadow: 0 -4px 10px rgba(0, 123, 255, 0.3);
}

/* Dropdown styling */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-button {
    cursor: pointer;
    color: white;
    background-color: transparent;
    border: none;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #007bff;
    min-width: 120px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
}

.dropdown-content button:hover {
    background-color: #e60000;
}

.user-dropdown:hover .dropdown-content {
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #f8f8f8;
}

table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

/* Responsive Styling */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .container {
        padding: 20px;
        max-width: 100%;
    }

    h2 {
        font-size: 20px;
    }

    button, input, textarea {
        font-size: 16px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 22px;
    }

    nav ul li a {
        font-size: 14px;
        padding: 8px 10px;
    }

    .container {
        padding: 15px;
    }

    h2 {
        font-size: 18px;
    }

    button, input, textarea {
        font-size: 14px;
    }
}
