body {
    font-family: sans-serif; 
    background: #f5f5f5; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh;
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 6px 20px rgba(0,0,0,3), 
                0 12px 40px rgba(0,0,0,0.25);
    border-radius: 2rem;   /* kerekítés */
    overflow: hidden; 
}

body::before,
body::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%; /* mindkét oldal fél képernyő */
    background-size: cover;
    background-position: center;
    opacity: 0.7; /* kicsit áttetsző */
    z-index: 0;
    border-radius: 2rem; 
}

/* Bal kép balról halványodik el */
body::before {
    left: 0;
    background-image: 
        linear-gradient(to left, rgba(255,255,255,0.8), rgba(255,255,255,0)), 
        url('images/background_image_left.jpeg');
}

/* Jobb kép jobbról halványodik el */
body::after {
    right: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.8), rgba(255,255,255,0)), 
        url('images/background_image_right.jpeg');
}

.card {
    background: white; 
    padding: 2rem; 
    border-radius: 1rem; 
    box-shadow: 0 6px 20px rgba(0,0,0,3), 
                0 12px 40px rgba(0,0,0,0.25);
    width: 500px; 
    text-align: center;
    position: relative;
    z-index: 1; /* mindig a képek előtt legyen */
}

input[type="password"] { 
    width: 100%; 
    padding: 0.75rem; 
    margin: 1rem 0; 
    border-radius: 0.5rem; 
    border: 1px solid #ccc; 
}

button { 
    padding: 0.75rem; 
    width: 100%; 
    background: #8e44ad; 
    color: white; 
    border: none; 
    border-radius: 0.5rem; 
    cursor: pointer; 
}
button:hover { background: #732d91; }

p.error { color: red; }

.card form {
    display: flex;
    flex-direction: column; /* egymás alatt lesznek */
    gap: 1rem; /* távolság a mezők között */
}

.card input,
.card button,
.card label {
    width: 100%; /* szépen kitöltse a kártyát */
}

/*
.audio-controls {
    display: flex;
    gap: 1.5rem; /* távolság a gombok között 
    justify-content: center;
    margin-top: 1.5rem;
}

.audio-controls button {
    width: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rögzítés gomb 
#recordButton {
    background: red;
}

/* Leállítás gomb 
#stopButton {
    background: black;
    border-radius: 10%; /* kocka alak 
}
*/




.audio-controls {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.audio-controls button {
    width: 60px;
    height: 60px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

#recordButton {
    background: red;
    border-radius: 50%;
    text-align: center;
    src: "Rögzítés";
}

#stopButton {
    background: black;
    border-radius: 10%;
}

/* Időzítő kör */
#timerCircle {
    width: 60px;
    height: 60px;
    border: 3px solid red;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: red;
    visibility: hidden;
}

/* Villogó animáció felvétel közben */
.recording {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { background-color: rgba(255, 0, 0, 0.2); }
    50% { background-color: rgba(255, 0, 0, 0.6); }
}

/* REC felirat */
#timerCircle span {
    font-size: 10px;
    margin-top: 2px;
}
