@font-face {
    font-family: 'ONE DAY Regular';
    src: local('ONE DAY Regular'),
    url('/fonts/ONEDAY.woff') format('woff');
}

/* Pod animacje początkową */
.image-section {
    overflow: hidden;
    transform-origin: right center;
    will-change: transform, clip-path;
    background:  url('/media/login-background.avif') center/cover no-repeat;
    color: white;
    position: relative;
    z-index: 2;
}

.row.g-0.h-100 {
    background-color: white !important;
}

.image-section * {
    will-change: transform, opacity;
}

/* Widok docelowy */
body {
    background-color: white;
    overflow-x: clip;
}

.gradient-text {
    font-family: 'ONE DAY Regular', sans-serif;
    background: linear-gradient(90deg, black, black);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    will-change: transform, opacity;
}

.form-control:focus {
    border-color: #00cffc;
    box-shadow: 0 0 0 0.25rem rgba(0, 207, 252, 0.25);
}

.btn-primary {
    background-color: #00cffc !important;
    border-color: #00cffc !important;
}

.btn-primary:hover {
    background-color: #00b5e0 !important;
    border-color: #00b5e0 !important;
}

.link-primary {
    color: #00cffc !important;
}

.cursor-pointer {
    cursor: pointer;
}

#clubs .form-check {
    margin-bottom: 0.5rem;
}

.image-section p {
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.intro-text {
    font-size: 1rem !important;
    opacity: 0.5 !important;
}

#error-message.show {
    display: block !important;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.club-badge {
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    background: white;
    color: #333;
    border: 1px solid #00cffc;
    box-shadow: 0.5px 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.club-badge:hover {
    background-color: #00cffc !important;
    color: white !important;
    border-color: #00cffc;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
}

.club-badge.selected {
    background-color: #00b5e0 !important;
    color: white !important;
    border-color: #00cffc;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
}

/* Kontener klubów */
#clubs {
    background: white;
    border-radius: 12px;
    padding: 15px;
    max-height: 150px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-light .google-login-text {
    color: #303030 !important;
}

/* Zmiana koloru przycisku Apple w stanie normalnym */
.btn-dark {
    background-color: #1a1a1a !important;
    border-color: #1a1a1a !important;
}

/* Zmiana koloru przycisku Apple w stanie hover */
.btn-dark:hover {
    background-color: #585858 !important;
    border-color: #666 !important;
}

/* Logo */
.logo-container {
    text-align: center;
    transform-origin: center;
}

.logo-img {
    max-width: 220px;
    height: auto;
    opacity: 0;
}

.form-container {
    max-width: 352px;
}

/* Responsywność */
@media (max-width: 770px) {
    .gradient-text {
        font-size: 2.5rem !important;
    }

    .image-section {
        display: none !important;
    }
}

@media (max-width: 576px) {

    .container-fluid.vh-100 {
        height: auto !important;
        min-height: 100vh !important;
    }

    /* Dodatkowo można nieco zmniejszyć logo */
    .logo-img {
        max-width: 180px;
    }

    /* Zmniejszamy odstępy wewnątrz sekcji formularza */
    .form-container {
        padding: 0 15px !important;
        margin: 0;
    }

    .col-12.col-md-5 {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Pasek nawigacyjny */
.navbar-nav {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.navbar-nav::-webkit-scrollbar {
    display: none;
}

.container-fluid {
    min-width: max-content;
}

/* Naprawa pozycji dropdownów */
.dropdown-menu {
    position: absolute !important;
}

/* Zapobieganie nakładaniu się na hero */
.hero-section {
    padding-top: 56px !important;
    height: calc(100vh - 56px);
}