@font-face {
    font-family: 'Sony Sketch';
    src: local('Sony Sketch EF'), local('Sony Sketch');
}

body {
    background-color: #272737;
    color: #ffffff;
    font-family: 'Sony Sketch', sans-serif;
    margin: 0;
    padding: 0;
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #272737;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.logo-anim {
    width: 200px;
    animation: rotatePulse 2s infinite ease-in-out;
}

@keyframes rotatePulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* Main Container */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: none; /* Hidden until loader finishes */
}

h1, h2 { text-align: center; }

.nav-links {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

a, button, input[type="submit"] {
    background-color: #ff8c00;
    color: #fff;
    border: none;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
}

input[type="text"], input[type="password"], input[type="file"] {
    width: 70%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #555;
    background-color: #38384d;
    color: white;
    border-radius: 4px;
    box-sizing: border-box;
}

table {
    width: 70%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    border: 1px solid #444;
    text-align: left;
}

th { background-color: #1f1f2e; }

.edit-input { width: 90%; }
.search-container { margin-bottom: 20px; }