:root {
    --dark: #f1f1f1;
    --container: #F5F5F5;
    --bg: #fafafa;
    --white: black;
    --gold: #FFD700;
    --black: white;
    --grey: #dadada;
    --shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
    --border: none;
    --icon-filter: brightness(0) contrast(0.9);
  }
  
  .dark-mode {
    --dark: #111;
    --container: #1a1a1a;
    --bg: #0d0d0d;
    --white: white;
    --gold: #FFD700;
    --black: black;
    --grey: #333;
    --shadow: 4px 4px 40px rgba(116, 116, 116, 0.35);
    --border: white;
    --icon-filter: brightness(1) contrast(1);
  
  }

/* Reset základního stylu */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Nastavení hlavního pozadí */

body {
    background-color: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
} 

.loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.loader-box {
    min-width: 500px;
    min-height: 400px; 
    max-width: 90%;
    max-height: 80vh; 
    background: var(--container);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 20px;  
}

.loading-text {
    font-size: 16px;
    margin-top: 10px;
    color: var(--white);
}

/* ------------------- */
/* 📌 RESPONZIVITA */
/* ------------------- */

/* Pro menší obrazovky */
@media (max-width: 700px) {
    .container {
        width: 90%;
        padding: 20px;
    }

    h2 {
        font-size: 22px;
    }

    .input-group {
        flex-direction: column;
        padding: 8px;
    }

    input[type="text"] {
      justify-content: center;
      text-align: center;
    }

    button {
        width: 90%;
        margin: 10px 0;
    }

    .links {
        flex-direction: column;
        align-items: center;
    }

    .loader-box {
        width: 90%;
        height: auto; 
        padding: 20px; 
    }
    
    .spinner {
        width: 40px;
        height: 40px;
    }

    .loading-text {
        font-size: 14px;
    }
}

