html, body {
    height: 100vh;
    overflow: hidden; /* tiltja a scrollozást */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: #0D1B2A;
    overflow-x: hidden;
}

.section {
    width: 100%;
    position: relative;
}

.top-bg,
.bottom-bg {
    background: url('../images/innohub_bg.jpg') no-repeat center center;
    background-size: cover;
    height: 250px;
}

.bottom-bg {
    margin-top: -100px;
    height: 500px;
}

.wave {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.content {
    background-color: #0D1B2A;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(0,0,0,0.4);
}

p.description {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.prompt-container {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff12;
    border: 1px solid #ffffff30;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
}

textarea {
    width: 100%;
    height: 150px;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    resize: vertical;
    background-color: #f9f9f9;
    color: #333;
    margin-bottom: 1.5rem;
}

button {
    background: #4fc3f7;
    color: #1a1a1a;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #03a9f4;
}

/* Két oszlopos prompt blokk */
.dual-prompt-container .prompt-columns {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.dual-prompt-container .prompt-block {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.dual-prompt-container textarea {
    height: 250px;
    width: 320px;
    margin-bottom: 1rem;
}

.dual-prompt-container button {
    margin-left: 8%;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(13, 27, 42, 0.9);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    gap: 1rem;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #4fc3f7;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

.profile-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ffffff22;
    color: #ffffff;
    padding: 12px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 1000000;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

.logout-upper-button {
    position: fixed;
    top: 20px;
    right: 90px;
    background-color: #ffffff22;
    color: #ffffff;
    padding: 12px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 1000000;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

.home-button:hover {
    background-color: #ffffff44;
}

.home-icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* Mobilnézet */
@media (max-width: 768px) {
    .dual-prompt-container .prompt-columns {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .logout-upper-button {
        right: 80px !important;
        z-index: 1200000;
    }

    .profile-button {
        z-index: 1200000;
    }
}