@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: url('https://wallpaperaccess.com/full/3295837.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.navbar {
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0px 0px 10px cyan;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar img {
    height: 40px;
    margin: 0 10px;
}

.container {
    display: flex;
    flex: 1;
    margin-top: 60px;
}

.sidebar {
    width: 250px;
    background: rgba(0, 0, 0, 0.9);
    height: calc(100vh - 60px);
    position: fixed;
    left: 0;
    top: 60px;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    transition: transform 0.3s ease-in-out;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.toggle-btn {
    position: fixed;
    left: 15px;
    top: 15px;
    background: #00ffcc;
    color: black;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
    z-index: 200;
}

.toggle-btn:hover {
    background: #00997a;
    transform: scale(1.1);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 12px;
    transition: background 0.3s;
}

.sidebar ul li a:hover {
    background: #00ffcc;
    color: #000;
}

main {
    flex: 1;
    padding: 80px 20px;
    text-align: center;
    margin-left: 260px;
    transition: margin-left 0.3s ease-in-out;
}

.sidebar.hidden ~ main {
    margin-left: 20px;
}

.intro {
    max-width: 800px;
    margin: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    backdrop-filter: blur(5px);
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
}

.form-container label {
    font-size: 16px;
    font-weight: bold;
}

.form-container input,
.form-container select,
.form-container textarea {
    width: 96%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
    background: rgba(255, 255, 255, 0.3);
    border-left: 3px solid #00ffcc;
}

.preview-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.preview-container img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #00ffcc;
}

.btn-submit {
    background: #00ffcc;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background: #00997a;
    transform: scale(1.05);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th, .table td {
    border: 1px solid #00ffcc;
    padding: 10px;
    text-align: left;
}

.table th {
    background-color: #00997a;
    color: white;
}

.table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}

.table a {
    color: red;
    text-decoration: none;
    font-weight: bold;
}

.table a:hover {
    text-decoration: underline;
}
