/* Main Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    overflow: hidden; /* Prevent scrolling on body */
}

.hidden {
    display: none !important;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #492e57;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main Screen (Login) */
.main-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #492e57 0%, #2a1a32 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.main-container {
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 400px;
}

.main-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.main-title {
    color: white;
    font-size: 24px;
    margin-bottom: 40px;
}

.main-button {
    background-color: #fff;
    color: #492e57;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.main-button:active {
    transform: scale(0.98);
}

.language-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.language-flag {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

/* UI Buttons (Overlay) */
.ui-button {
    position: absolute;
    z-index: 1000;
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
}

.logo-button {
    top: 20px;
    left: 20px;
}

.logo-image {
    width: 30px;
    height: auto;
}
