@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

/* ===== USTAWIENIA GŁÓWNE ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Russo One", sans-serif;
    font-weight: 400;
}

html,
body {
    min-height: 100%;
    width: 100%;
}

body {
    background-color: rgba(61, 63, 62, 0.61);
    color: white;
}

/* ===== CAŁA STRONA ===== */

.registerPage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
}

/* ===== LOGO ===== */

.registerLogo {
    margin-bottom: 20px;
    text-align: center;
}

.registerLogo img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    transition: transform 0.2s ease;
}

.registerLogo img:hover {
    transform: scale(1.03);
}

.registerLogo a {
    display: inline-block;
}

/* ===== FORMULARZ ===== */

.registerBox {
    width: 100%;
    max-width: 460px;
    padding: 38px;
    background-color: #191919;
    border: 1px solid #383838;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.registerLabel {
    margin-bottom: 12px;
    color: #ff6a00;
    font-size: 12px;
    letter-spacing: 3px;
    text-align: center;
}

.registerBox h1 {
    margin-bottom: 12px;
    color: #ff6a00;
    font-size: 32px;
    text-align: center;
}

.registerDescription {
    margin-bottom: 30px;
    color: #bdbdbd;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

/* ===== POLA FORMULARZA ===== */

.formGroup {
    margin-bottom: 20px;
}

.formGroup label {
    display: block;
    margin-bottom: 9px;
    color: #eeeeee;
    font-size: 13px;
}

.formGroup input {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: #252525;
    color: white;
    border: 1px solid #444;
    border-radius: 8px;
    outline: none;
    font-family: Arial, sans-serif;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.formGroup input::placeholder {
    color: #888;
}

.formGroup input:focus {
    border-color: #ff6a00;
}

/* ===== REGULAMIN ===== */

.terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 24px;
    color: #ccc;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.terms input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #ff6a00;
    flex-shrink: 0;
}

/* ===== PRZYCISK REJESTRACJI ===== */

.registerButton {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #e44d07;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.registerButton:hover {
    background-color: #be3c00;
    transform: translateY(-2px);
}

.registerButton:active {
    transform: translateY(0);
}

/* ===== KOMUNIKAT ===== */

.registerMessage {
    margin-top: 15px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* ===== POWRÓT DO LOGOWANIA ===== */

.loginReturn {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #383838;
    color: #bdbdbd;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.loginReturn a {
    display: block;
    margin-top: 6px;
    color: #ff6a00;
    text-decoration: none;
    transition: color 0.2s ease;
}

.loginReturn a:hover {
    color: #ff8533;
    text-decoration: underline;
}

/* ===== STOPKA ===== */

.registerFooter {
    margin-top: 25px;
    color: #aaa;
    font-family: Arial, sans-serif;
    font-size: 12px;
    text-align: center;
}

/* ===== TELEFONY ===== */

@media (max-width: 500px) {
    .registerPage {
        padding: 20px 12px;
    }

    .registerBox {
        padding: 26px 20px;
    }

    .registerBox h1 {
        font-size: 27px;
    }

    .registerLogo img {
        width: 150px;
    }
}