.password-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.password-box {
    background-color: #003366;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 51, 102, 0.5);
    min-width: 300px;
}

.password-box h2 {
    color: white;
    font-family: 'Pricedown', sans-serif;
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.password-box input {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    outline: none;
    letter-spacing: 1px;
}

.password-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.password-box input:focus {
    background-color: rgba(255, 255, 255, 0.2);
}

.password-box button {
    width: 100%;
    padding: 16px;
    background-color: white;
    color: #003366;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.password-box button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.error-message {
    color: #ff6b6b;
    margin-top: 15px;
    font-size: 16px;
    min-height: 24px;
    letter-spacing: 0.5px;
}

.downloads-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: white;
}

.downloads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.downloads-header h2 {
    font-family: 'Pricedown', sans-serif;
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 3px;
}

.logout-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logout-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.back-button i {
    margin: 0;
}

.downloads-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.download-item {
    background-color: #003366;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.5);
}

.download-item h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Pricedown', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
}

.download-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.download-size {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.download-btn {
    width: 100%;
    background-color: white;
    color: #003366;
    border: none;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.download-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.download-btn:active {
    transform: translateY(0);
}

.loading {
    text-align: center;
    color: white;
    font-size: 20px;
    margin: 50px 0;
    letter-spacing: 1px;
}

.loading i {
    margin-right: 10px;
}

.announcement-board {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    color: #fff;
    white-space: pre-wrap; 
    font-family: monospace;
}

.empty-state {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    margin: 80px 0;
    letter-spacing: 1px;
    line-height: 1.5;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

@media (max-width: 768px) {
    .downloads-container {
        padding: 30px 15px;
    }

    .downloads-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .downloads-header h2 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .downloads-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .password-box {
        margin: 20px;
        padding: 35px;
        min-width: auto;
    }

    .download-item {
        padding: 30px;
    }

    .download-item h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .password-box h2 {
        font-size: 1.2rem;
    }
    
    .downloads-header h2 {
        font-size: 1.3rem;
    }
}
