@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

html, body{
    font-family: 'Inter Tight', sans-serif !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter Tight', sans-serif;
    background-color: #0a0a1a; /* Dark blue/black background */
    background-image: url('../../assets/img/background.png'); /* Placeholder for the background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.7); /* Dark overlay to make text readable */
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-container form {
    width: 100%;
}

.logo {
    width: 180px;
    margin-bottom: 20px;
}

.logo img {
    width: 100%;
    height: auto;
}

.form-group {
    margin-bottom: 15px;
}

input[type="text"],
input[type="password"],
input[type="date"],
select {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    box-sizing: border-box;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-family: 'Inter Tight', sans-serif;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #5846f9; /* Purple/Blue button color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: bold;
    transition: background 0.3s;
}

button:hover {
    background-color: #4535c9;
}

.error-message {
    color: #ff4d4d;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Admin Panel Styles */
.admin-container {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 1000px;
    background: rgba(20, 20, 35, 0.9);
    padding: 30px;
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    color: #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #444;
}

th {
    background-color: #2a2a40;
}

.status-active {
    color: #4caf50;
}

.status-inactive {
    color: #f44336;
}

.action-btn {
    padding: 5px 10px;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
}

.edit-btn {
    background-color: #2196F3;
}

.delete-btn {
    background-color: #f44336;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logout-btn {
    background-color: #f44336;
    width: auto;
    padding: 8px 15px;
}

.back-btn {
    background-color: #666;
    width: auto;
    padding: 8px 15px;
    text-decoration: none;
    display: inline-block;
    color: white;
    border-radius: 5px;
}
