/* Global settings */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

:root {
    /* Najjaśniejsze */
    --Platonic: #F5F5F5;
    --CiemnyNiebieski: #171940;
    
    --JasnyBialy: #F8F8F8;
    --JasnySzary: #A9A9A9;
    --MainContentBG: #FFFFFF;
    
    /* Szary */
    --SzaryTekst: #777; 
    --JasnoSzaryTekst: #5b5b5b;
    --CiemnySzaryTekst: #444444;
    
    /* Jasne niebieskie */
    --JasnyNiebieski: #5E93F0;
    --Niebieski: #3B82F6;
    --NiebieskiHover: #3a72cc;
    
    /* Fioletowe */
    --AkcentFioletowyKoniec: #7b4eff;
    --Fioletowy: #7471D9;
    --FioletowyHover: #5f5cbd;
    --CiemnyFioletowy1: #3A2390;
    --CiemnyFioletowy2: #3E0C60;
}

/* Main container */
.main-container {
    display: flex;
    height: 100vh;
    width: 100%;
    background: var(--Platonic);
}

.info-side {
    flex: 1;
    background: linear-gradient(135deg, #5c4d9e 0%, #4a3b8a 100%);
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--Platonic);
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.circle-2 {
    width: 800px;
    height: 800px;
    bottom: -300px;
    left: -200px;
    background: rgba(255, 255, 255, 0.05);
}

.logo-top {
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--Platonic);
    padding: 30px 45px 30px 30px;
    border-radius: 0 22px 22px 22px;
    z-index: 10;
}

.mainplatonictitle {
    padding-left: 7px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    display: flex;
    align-items: center;
    color: var(--CiemnyNiebieski);
}

.mainplatonictitle-link {
    color: var(--CiemnyNiebieski);
    font-weight: 500;
    font-size: 40px;
    text-decoration: none;
}

.logo-top img {
    width: 64px;
    max-width: 64px;
    min-width: 64px;
    height: 64px;
    max-height: 64px;
    min-height: 64px;
}

.slider-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Slajdy */
.slide {
    position: absolute;
    width: 100%;
    max-width: 600px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.slide.exit {
    opacity: 0;
    transform: translateX(100%);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Karta slidera */
.slider-card {
    background: var(--Platonic);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.slide.active .slider-card {
    animation: slideCardIn 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideCardIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header slidera */
.slider-header {
    margin-bottom: 20px;
}

.slider-header .register-login-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tekst w karcie */
.slider-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #4a5568;
    margin: 0;
}

/* Floating box */
.floating-box {
    position: absolute;
    bottom: -50px;
    right: 10px;
    background: #e8eef5;
    padding: 25px 45px;
    border: 2px solid #7ba3d8;
    border-radius: 15px;
    color: #4a76b8;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.floating-box.changing {
    animation: textChange 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes textChange {
    0% {
        transform: scale(1) rotate(-5deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.15) rotate(-5deg);
        opacity: 0.7;
    }
    100% {
        transform: scale(1) rotate(-5deg);
        opacity: 1;
    }
}

/* ZAZNACZONE STYLE INPUTS */
.form-side {
    flex: 1;
    background: var(--Platonic);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper {
    width: 100%;
    max-width: 550px;
}

.register-login-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--CiemnySzaryTekst);
}

.subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 40px;
}

.subtitle a {
    color: var(--Niebieski);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.subtitle a:hover {
    color: var(--AkcentFioletowyKoniec);
}

/* ========================================
   KLASY SPECYFICZNE DLA LOGOWANIA
   ======================================== */

.login-info-side {
    background: linear-gradient(135deg, var(--Niebieski) 0%, #2864d4 100%);
}

.remember-forgot {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 45px;
}

.remember-forgot .checkbox-container {
    margin: 0;
}

.remember-forgot a {
    color: var(--Niebieski);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
}

.remember-forgot a:hover {
    color: var(--AkcentFioletowyKoniec);
}

/* ========================================
   MEDIA QUERIES - RESPONSYWNOŚĆ
   ======================================== */

/* Tablet - duże (do 1200px) */
@media (max-width: 1200px) {
    .logo-top {
        padding: 20px 35px 20px 20px;
    }

    .mainplatonictitle {
        font-size: 32px;
    }
    
    .mainplatonictitle-link {
        font-size: 32px;
    }
    
    .logo-top img {
        width: 48px;
        min-width: 48px;
        height: 48px;
        min-height: 48px;
    }
    
    .slider-header .register-login-subtitle {
        font-size: 28px;
    }
    
    .slider-card p {
        font-size: 16px;
    }
    
    .floating-box {
        padding: 20px 35px;
        font-size: 18px;
        bottom: -40px;
        right: 5px;
    }
    
    .form-side {
        padding: 40px;
    }
    
    .register-login-title {
        font-size: 2rem;
    }
}

/* Tablet - średnie (do 1024px) */
@media (max-width: 1024px) {
    .main-container {
        height: auto;
        min-height: 100vh;
    }
    
    .info-side {
        display: none;
    }
    
    .slider-container {
        display: none;
    }
    
    .slider-card {
        padding: 30px;
    }
    
    .slide {
        max-width: 500px;
    }
    
    .circle-1 {
        width: 500px;
        height: 500px;
        top: -150px;
        right: -80px;
    }
    
    .circle-2 {
        width: 600px;
        height: 600px;
        bottom: -200px;
        left: -150px;
    }
}

/* Tablet pionowo / Mobile poziomo (do 768px) */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .info-side {
        min-height: 400px;
        padding: 20px;
        background-color: blue;
    }
    
    .logo-top {
        position: relative;
        padding: 15px 25px 15px 15px;
        height: 90px;
        background-color: var(--Platonic);
    }
    
    .mainplatonictitle-link {
        font-size: 28px;
    }
    
    .logo-top img {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
    }
    
    .slider-container {
        min-height: 280px;
        padding: 20px 10px;
    }
    
    .slider-card {
        padding: 25px;
        border-radius: 16px;
    }
    
    .slider-header .register-login-subtitle {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .slider-card p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .floating-box {
        padding: 15px 25px;
        font-size: 16px;
        bottom: -30px;
        right: 0px;
        border-radius: 12px;
    }
    
    .circle-1 {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -50px;
    }
    
    .circle-2 {
        width: 450px;
        height: 450px;
        bottom: -150px;
        left: -100px;
    }
    
    .form-side {
        padding: 40px 30px;
    }
    
    .register-login-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        margin-bottom: 30px;
    }
}

/* Mobile (do 480px) */
@media (max-width: 480px) {
    .info-side {
        min-height: 350px;
        padding: 15px;
    }
    
    .logo-top {
        padding: 12px 20px 12px 12px;
        border-radius: 12px;
    }

    .mainplatonictitle {
        font-size: 26px;
        padding-left: 5px;
    }
    
    .mainplatonictitle-link {
        font-size: 24px;
    }
    
    .logo-top img {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
    }
    
    .slider-container {
        min-height: 250px;
        padding: 15px 5px;
    }
    
    .slider-card {
        padding: 20px;
        border-radius: 14px;
    }
    
    .slider-header .register-login-subtitle {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .slider-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .floating-box {
        padding: 12px 20px;
        font-size: 14px;
        bottom: -25px;
        right: 0px;
        border-radius: 10px;
        border-width: 1.5px;
    }
    
    .circle-1 {
        width: 300px;
        height: 300px;
        top: -80px;
        right: -40px;
    }
    
    .circle-2 {
        width: 350px;
        height: 350px;
        bottom: -100px;
        left: -80px;
    }
    
    .form-side {
        padding: 30px 20px;
    }
    
    .register-login-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
}

/* Bardzo małe ekrany (do 360px) */
@media (max-width: 360px) {
    .mainplatonictitle-link {
        font-size: 20px;
    }
    
    .logo-top img {
        width: 32px;
        min-width: 32px;
        height: 32px;
        min-height: 32px;
    }
    
    .slider-header .register-login-subtitle {
        font-size: 18px;
    }
    
    .slider-card p {
        font-size: 13px;
    }
    
    .floating-box {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .register-login-title {
        font-size: 1.4rem;
    }
}

/* ========================================
   POTWIERDZENIE KODU
   ======================================== */

.code-confirmation-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Dekoracyjne elementy tła */
.code-confirmation-container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.code-confirmation-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

/* Karta formularza */
.code-confirmation-card {
    background: var(--Platonic);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo/ikona na górze */
.code-confirmation-header {
    text-align: center;
    margin-bottom: 35px;
}

.code-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--Niebieski) 0%, var(--AkcentFioletowyKoniec) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.code-icon svg {
    width: 40px;
    height: 40px;
    color: var(--Platonic);
}

.code-confirmation-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--CiemnySzaryTekst);
    margin-bottom: 10px;
}

.code-confirmation-subtitle {
    font-size: 1rem;
    color: var(--SzaryTekst);
    line-height: 1.6;
}

/* Formularz potwierdzenia */
.code-confirmation-form {
    margin-top: 30px;
}

/* Specjalne style dla pola kodu */
.code-input-wrapper {
    margin-bottom: 30px;
}

.code-input-wrapper .input-box input {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    height: 70px;
}

.code-input-wrapper .input-box input:focus,
.code-input-wrapper .input-box input:valid {
    font-size: 1.9rem;
}

.code-input-wrapper .input-box label {
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
}

.code-input-wrapper .input-box input:focus ~ label,
.code-input-wrapper .input-box input:valid ~ label {
    left: 20px;
    top: -10%;
    transform: translateY(0);
}

/* Przycisk submit dla potwierdzenia kodu */
.code-submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--Niebieski) 0%, var(--AkcentFioletowyKoniec) 100%);
    color: var(--Platonic);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.code-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.code-submit-btn:active {
    transform: translateY(0);
}

.code-submit-btn span {
    position: relative;
    z-index: 1;
}

/* Animacja ripple dla przycisku */
.code-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.code-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Animacja dla błędów */
.code-input-wrapper .small-error {
    text-align: center;
    margin-top: 12px;
}

/* Tablet (do 768px) */
@media (max-width: 768px) {
    .code-confirmation-container {
        min-height: 0;
        height: calc(100vh - 90px);
    }

    .code-confirmation-card {
        padding: 40px 30px;
        max-width: 420px;
        border-radius: 20px;
    }
    
    .code-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    .code-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .code-confirmation-title {
        font-size: 1.8rem;
    }
    
    .code-confirmation-subtitle {
        font-size: 0.95rem;
    }
    
    .code-input-wrapper .input-box input {
        height: 65px;
        font-size: 1.6rem;
        letter-spacing: 0.25em;
    }
    
    .code-input-wrapper .input-box input:focus,
    .code-input-wrapper .input-box input:valid {
        font-size: 1.7rem;
    }
    
    .code-submit-btn {
        padding: 15px;
        font-size: 1.05rem;
    }
}

/* Mobile (do 480px) */
@media (max-width: 480px) {
    .code-confirmation-container {
        padding: 15px;
    }
    
    .code-confirmation-container::before {
        width: 350px;
        height: 350px;
        top: -150px;
        right: -80px;
    }
    
    .code-confirmation-container::after {
        width: 300px;
        height: 300px;
        bottom: -100px;
        left: -80px;
    }
    
    .code-confirmation-card {
        padding: 35px 25px;
        border-radius: 18px;
    }
    
    .code-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        margin-bottom: 14px;
    }
    
    .code-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .code-confirmation-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .code-confirmation-subtitle {
        font-size: 0.9rem;
    }
    
    .code-confirmation-form {
        margin-top: 25px;
    }
    
    .code-input-wrapper {
        margin-bottom: 25px;
    }
    
    .code-input-wrapper .input-box input {
        height: 60px;
        font-size: 1.4rem;
        letter-spacing: 0.2em;
        padding: 0px 16px;
    }
    
    .code-input-wrapper .input-box input:focus,
    .code-input-wrapper .input-box input:valid {
        font-size: 1.5rem;
    }
    
    .code-input-wrapper .input-box label {
        font-size: 0.9rem;
    }
    
    .code-submit-btn {
        padding: 14px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .code-input-wrapper .small-error {
        font-size: 0.8rem;
        margin-top: 8px;
    }
}

/* Bardzo małe ekrany (do 360px) */
@media (max-width: 360px) {
    .code-confirmation-card {
        padding: 30px 20px;
    }
    
    .code-icon {
        width: 55px;
        height: 55px;
    }
    
    .code-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .code-confirmation-title {
        font-size: 1.4rem;
    }
    
    .code-confirmation-subtitle {
        font-size: 0.85rem;
    }
    
    .code-input-wrapper .input-box input {
        height: 55px;
        font-size: 1.3rem;
    }
    
    .code-input-wrapper .input-box input:focus,
    .code-input-wrapper .input-box input:valid {
        font-size: 1.4rem;
    }
    
    .code-submit-btn {
        padding: 13px;
        font-size: 0.95rem;
    }
}

/* ========================================
   PRZYPOMNIENIE HASŁA
   ======================================== */

.password-remind-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 100%, #764ba2 0%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Dekoracyjne elementy tła */
.password-remind-container::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -250px;
    right: -150px;
    pointer-events: none;
}

.password-remind-container::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    bottom: -200px;
    left: -150px;
    pointer-events: none;
}

/* Karta formularza */
.password-remind-card {
    background: var(--Platonic);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 1;
    animation: slideUpRemind 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUpRemind {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo/ikona na górze */
.password-remind-header {
    text-align: center;
    margin-bottom: 35px;
}

.password-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.password-icon svg {
    width: 40px;
    height: 40px;
    color: var(--Platonic);
}

.password-remind-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--CiemnySzaryTekst);
    margin-bottom: 10px;
}

.password-remind-subtitle {
    font-size: 1rem;
    color: var(--SzaryTekst);
    line-height: 1.6;
}

/* Formularz */
.password-remind-form {
    margin-top: 30px;
}

.password-input-wrapper {
    margin-bottom: 35px;
}

.password-input-wrapper .input-box input {
    height: 60px;
}

/* Sekcja przycisków */
.submit-section {
    margin-top: 10px;
}

.submit-text {
    display: block;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--CiemnySzaryTekst);
    margin-bottom: 20px;
}

.role-buttons-remind {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.role-buttons-remind .role-buttons {
    margin: 0;
}

/* Link powrotu */
.back-to-login {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.back-to-login a {
    color: var(--Niebieski);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-to-login a:hover {
    color: var(--AkcentFioletowyKoniec);
    transform: translateX(-3px);
}

/* Tablet (do 768px) */
@media (max-width: 768px) {
    .password-remind-container {
        min-height: 0;
        height: calc(100vh - 90px);
    }

    .password-remind-card {
        padding: 40px 30px;
        max-width: 440px;
        border-radius: 20px;
    }
    
    .password-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    .password-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .password-remind-title {
        font-size: 1.8rem;
    }
    
    .password-remind-subtitle {
        font-size: 0.95rem;
    }

    .password-input-wrapper {
        margin-bottom: 30px;
    }
    
    .password-input-wrapper .input-box input {
        height: 55px;
    }

    .submit-text {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .back-to-login {
        margin-top: 25px;
        padding-top: 20px;
    }
}

/* Mobile (do 480px) */
@media (max-width: 480px) {
    .password-remind-container {
        padding: 15px;
    }
    
    .password-remind-container::before {
        width: 400px;
        height: 400px;
        top: -180px;
        right: -100px;
    }
    
    .password-remind-container::after {
        width: 350px;
        height: 350px;
        bottom: -150px;
        left: -100px;
    }
    
    .password-remind-card {
        padding: 35px 25px;
        border-radius: 18px;
    }
    
    .password-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        margin-bottom: 14px;
    }
    
    .password-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .password-remind-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .password-remind-subtitle {
        font-size: 0.9rem;
    }
    
    .password-remind-form {
        margin-top: 25px;
    }
    
    .password-input-wrapper {
        margin-bottom: 25px;
    }
    
    .password-input-wrapper .input-box input {
        height: 52px;
        font-size: 0.95rem;
    }

    .submit-section {
        margin-top: 5px;
    }

    .submit-text {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .role-buttons-remind {
        flex-direction: column;
        gap: 12px;
    }

    .back-to-login {
        margin-top: 20px;
        padding-top: 18px;
    }

    .back-to-login a {
        font-size: 0.9rem;
    }
}

/* Bardzo małe ekrany (do 360px) */
@media (max-width: 360px) {
    .password-remind-card {
        padding: 30px 20px;
    }
    
    .password-icon {
        width: 55px;
        height: 55px;
    }
    
    .password-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .password-remind-title {
        font-size: 1.4rem;
    }
    
    .password-remind-subtitle {
        font-size: 0.85rem;
    }
    
    .password-input-wrapper .input-box input {
        height: 50px;
        font-size: 0.9rem;
    }

    .submit-text {
        font-size: 0.9rem;
    }

    .back-to-login a {
        font-size: 0.85rem;
    }
}

/* User age verification */

.consent-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--Login_register);
}

.checkbox-label {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #797979;
    flex: 1;
}

.checkbox-label a {
    color: var(--Fioletowy);
    font-weight: bold;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.parent-consent {
    font-size: 13px;
    line-height: 16px;
}

.parent-consent strong {
    color: var(--Napisy_główne);
}

.age-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.age-warning p {
    font-size: 14px;
    color: #856404;
    margin: 0;
    text-align: center;
}

@media screen and (max-width: 600px) {
    .checkbox-label {
        font-size: 13px;
        line-height: 16px;
    }
    
    .parent-consent {
        font-size: 12px;
        line-height: 15px;
    }
}

/* ========================================
   NAUCZYCIEL DODATKOWE INFORMACJE
   ======================================== */

   .teacher-add-subtitle {
    color: var(--SzaryTekst);
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

.help-text {
    text-align: center;
    margin-top: 20px;
}

.help-text p {
    font-size: 0.95rem;
    color: var(--SzaryTekst);
}

.help-text span {
    color: var(--Niebieski);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.help-text span:hover {
    color: var(--AkcentFioletowyKoniec);
}

.link-teacher-add {
    text-decoration: none;
    color: var(--Niebieski);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.help-text .link-teacher-add:hover {
    color: var(--AkcentFioletowyKoniec);
}

/* Mobile (do 480px) */
@media (max-width: 480px) {
    .teacher-add-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .help-text p {
        font-size: 0.9rem;
    }
}

/* Bardzo małe ekrany (do 360px) */
@media (max-width: 360px) {
    .teacher-add-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .help-text p {
        font-size: 0.85rem;
    }
}