@charset "UTF-8";

/* --- BASIC STYLES --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f0e6d2;
    overflow-x: auto; 
}

.page-wrapper {
    width: 1200px;
    margin: 20px auto;
    position: relative; 
    padding: 20px;
}

a {
    color: #ffd700;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* --- TOP BAR AND NAVIGATION --- */
.logout {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border: 1px solid #cc9900;
    border-radius: 8px;
    color: white;
    z-index: 20;
}
.logout span {
    display: block;
    margin-bottom: 5px;
}
.logout-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: rgba(255, 0, 0, 0.8);
    padding: 6px 12px;
    border-radius: 8px;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
}
.logout-btn:hover {
    background-color: #ff3333;
    text-decoration: none;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 15px;
    border-radius: 12px;
    margin: 10px auto;
    width: 65%;
    text-align: center;
    border: 2px solid #cc9900;
    box-shadow: 0 0 20px #cc9900aa;
}

.main-nav {
    text-align: center;
    margin: 20px 0;
}
.main-nav .nav-link {
    display: inline-block;
    background: linear-gradient(to right, #292929, #111);
    border: 2px solid #cc9900;
    padding: 10px 20px;
    border-radius: 10px;
    color: #ffcc00 !important;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 10px #cc9900aa;
    transition: all 0.2s;
    margin: 0 5px;
}
.main-nav .nav-link:hover, 
.main-nav .nav-link.active {
    background: linear-gradient(to right, #444, #222);
    color: #fff2cc !important;
    box-shadow: 0 0 15px #ffcc00;
    text-decoration: none;
}

/* --- MAIN CONTENT (main-content.php) --- */
.step-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}
.step-box, .login-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border: 2px solid #cc9900;
    border-radius: 12px;
    text-align: center;
    width: 260px;
    box-shadow: 0 0 10px #cc9900aa;
}
.step-box h3 {
    margin-top: 0;
    color: #ffcc00;
    font-family: 'MedievalSharp', cursive;
}
.login-box {
    width: 280px;
    margin: 20px auto;
}
.login-box input {
    padding: 10px;
    width: 90%;
    margin: 10px 0;
    border: 1px solid #cc9900;
    border-radius: 5px;
    background: #1e1e28;
    color: #f0e6d2;
}
.login-box button {
    padding: 10px 20px;
    border: none;
    background: linear-gradient(to right, #ffcc00, #cc9900);
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

/* --- SIDEBAR PANELS (sidebar.php) --- */
.frosty-sidebar {
    position: absolute;
    width: 280px;
    padding: 20px;
    background: rgba(20, 20, 30, 0.4);
    border: 1px solid #66ccff;
    box-shadow: 0 0 15px #66ccff80;
    border-radius: 16px;
    z-index: 10;
    backdrop-filter: blur(4px);
}
.frosty-sidebar.left { left: 0px; }
.frosty-sidebar.right { right: 0px; }
.frosty-sidebar[style*="top: 120px"] { top: 120px; }
.frosty-sidebar[style*="top: 380px"] { top: 380px; }

.frosty-section {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
}
.frosty-section h3 { margin-top: 0; font-size: 18px; color: #cceeff; border-bottom: 1px solid #66ccff55; padding-bottom: 5px; }
.frosty-section p { font-size: 15px; color: #e0f8ff; margin: 10px 0; }

.sidebar-button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.sidebar-button-group a {
    flex: 1;
    padding: 10px 5px;
    background: linear-gradient(135deg, #66ccff, #3399ff);
    color: white !important;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s;
}
.sidebar-button-group a:hover {
    text-decoration: none;
    transform: scale(1.05);
    background: linear-gradient(135deg, #3399ff, #66ccff);
}

/* --- OPRAVA: Disclaimer a Footer --- */
.disclaimer, .footer {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 15px;
    border-radius: 12px;
    width: 80%;
    margin: 30px auto 10px auto;
    text-align: center;
    border: 2px solid #cc9900;
    box-shadow: 0 0 20px #cc9900aa;
}

.footer {
    margin-top: 10px;
    padding: 10px;
    font-size: 0.9em;
    border: 1px solid #cc990088; /* Jemnejší rám pre footer */
    box-shadow: none;
}
