@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('../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;
}

.main-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    width: 200px;
    margin-bottom: 50px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(88, 70, 249, 0.5));
}

.download-btn {
    display: flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 12px;
    transition: transform 0.2s, background-color 0.2s;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-btn:hover {
    transform: translateY(-2px);
    background-color: #0a0a0a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.download-btn i {
    font-size: 28px;
    margin-right: 15px;
}

.download-btn .btn-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.download-btn .small-text {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 300;
}

.download-btn .large-text {
    font-size: 15px;
    font-weight: 600;
}

.security-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.security-info p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

.security-logos {
    display: flex;
    align-items: center;
    gap: 25px;
}

.security-logos img {
    height: 20px;
    width: auto;
    opacity: 0.9;
    filter: brightness(0) invert(1); /* Make logos white if they aren't already */
}

/* 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;
}
