.register-container {
    display: flex;
    justify-content: center;
    padding: 4rem 1rem 5rem;
    color: #fff;
}

.register-box {
    background: #1b1b1b;
    width: 100%;
    max-width: 350px;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.8s ease;
}

.register-box h2 {
    font-size: 1.7rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
}

.register-box p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #ccc;
}

/* FORM */
.register-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    gap: 1rem;
}

.register-form label {
    font-size: 0.9rem;
    font-weight: 600;
}

.register-form input {
    width: 100%;
    padding: 0.7rem;
    border-radius: 6px;
    border: 2px solid #333;
    background: #111;
    color: #fff;
    font-family: inherit;
    transition: 0.2s;
}

.register-form input:focus {
    border-color: #ffcc00;
    outline: none;
}

/* BUTTON */
.btn-main {
    background: #ffcc00;
    color: #111;
    border: none;
    padding: 0.7rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 0.5rem;
}

.btn-main:hover {
    background: #ffdd44;
    transform: scale(1.03);
}

/* EXTRA LINK */
.extra-links {
    margin-top: 1.2rem;
    font-size: 0.85rem;
}

.extra-links a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}

.extra-links a:hover {
    text-decoration: underline;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/* ANIMACE */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .register-box {
        padding: 1.5rem;
    }
    .register-box h2 {
        font-size: 1.4rem;
    }
}
