:root {
  --primary-color: #ffce14;
  --secondary-color: #000000;
  --accent-color: #022179;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --text-color: #000000;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-secondary: #f9f9f9;
  --border-color: #e0e0e0;
  --shadow: 0 0 30px rgba(0, 0, 0, .2);
  --shadow-hover: 0 4px 15px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 30px;
  --border-radius-small: 8px;
  --font-family: "Poppins", sans-serif;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 20px;
  --spacing-xl: 24px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-2xl: 36px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    text-decoration: none;
    list-style: none;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.loading-container {
    position: relative;
    width: 850px;
    height: 550px;
    background: var(--bg-color);
    margin: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.message {
    font-size: var(--font-size-lg);
    margin-bottom: 20px;
    font-weight: 500;
}

.error-message {
    color: var(--error-color) !important;
    display: block !important;
    visibility: visible !important;
}

.success-message {
    color: var(--success-color);
}

.fade-out {
    animation: fadeOut 1s ease-out forwards;
}

@keyframes fadeOut {
    to { opacity: 0; }
}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

.location-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

@media screen and (max-width: 650px) {
    .loading-container {
        height: calc(100vh - 40px);
        width: calc(100vw - 40px);
    }
}

@media screen and (max-width: 400px) {
    .loading-container {
        padding: 20px;
    }
}