body
{
	background-color: #37353E;
	margin: 0 !important;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #D3DAD9;

}

/* --- STYLIZACJA LINKÓW --- */

/* Podstawowy wygląd linku */
a {
    color: #b8860b; /* Twój złoty/brązowy kolor */
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease-in-out; /* Płynne przejście kolorów */
}

/* Stan po najechaniu myszką */
a:hover {
    color: #D3DAD9; /* Zmiana na jasny szary z Twojej palety */
    text-shadow: 0px 0px 8px rgba(184, 134, 11, 0.4); /* Delikatna poświata */
}

/* Linki wewnątrz nawigacji lub konkretnych paneli (opcjonalnie) */
nav a, .panel a {
    position: relative;
    padding-bottom: 2px;
}

/* Efekt wysuwanej linii pod linkiem po najechaniu */
nav a::after, .panel a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #b8860b;
    transition: width 0.3s ease-in-out;
}

nav a:hover::after, .panel a:hover::after {
    width: 100%;
}


/* Podstawowy wygląd linku */
.aw {
    color: #b8860b; /* Twój złoty/brązowy kolor */
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease-in-out; /* Płynne przejście kolorów */
}

/* Stan po najechaniu myszką */
.aw:hover {
    color: #D3DAD9; /* Zmiana na jasny szary z Twojej palety */
    text-shadow: 0px 0px 8px rgba(184, 134, 11, 0.4); /* Delikatna poświata */
}


/* Styl dla linków "aktywnych" lub przyciskowych */
.link-button {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #b8860b;
    border-radius: 4px;
    background-color: transparent;
    color: #b8860b;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.link-button:hover {
    background-color: #b8860b;
    color: #1a1a1a; /* Kolor tła Twojej strony, aby tekst był czytelny */
}

	input[type=text], select
	{
		border: 1px solid #715A5A;
		box-sizing: border-box;	
		font-family: "Lato", sans-serif;
		color: #D3DAD9; 
		background-color: #37353E;
		margin-right: 3px;
	}
	
	input[type=submit] 
	{
		color: #D3DAD9;
		border: 1px solid #715A5A;
		box-sizing: border-box;	
		background-color: #44444E;
		margin-right: 3px;
	}
	
	input[type=submit]:hover
	{
		border: 1px solid #715A5A;
		background-color: #53535f;
	}

	h1
	{
		font-weight: 900;
		font-style: normal;
		font-size: 16px;
		padding: 10px;
		color: #D3DAD9;
		text-transform: uppercase;
		text-align: center;
	}
	
	h2
	{
		font-weight: 900;
		font-style: normal;
		font-size: 14px;
		padding: 5px;
		color: #D3DAD9;
		text-transform: uppercase;
		text-align: center;
	}
	
	h3
	{
		font-weight: 900;
		font-style: normal;
		font-size: 12px;
		padding: 5px;
		color: #D3DAD9;
		text-transform: uppercase;
		text-align: center;
	}
	
	main
	{
		margin-top: 5px; 
		margin-bottom: 5px;
	}
	
	#container
	{
		width:1800px;
		margin-left: auto;
		margin-right: auto;
	}
	
	.mainbar
	{
		background: radial-gradient(circle at center, #333333 0%, #1a1a1a 100%);
		overflow-x: hidden;
		min-height: 50px;
		margin-bottom: 10px;
		padding: 10px;
		margin-left: auto;
		margin-right: auto;
	}
	
	#userPanel
	{
		text-align: right;	
		width: 100%;
	}
	
	#topNav
	{
		width:100%;
		margin-bottom: 10px;
	}
	
	.dropList
	{
		display: inline-block;
		width: 295px;
		padding: 10px;
		display: inline-block;
		font-size: 15px;
		font-style: normal;
		font-weight: 400;		
	}
	
	.submitBut
	{
		display: inline-block;
		width: 295px;
		padding: 10px;
		text-transform: uppercase;
		font-size: 15px;
		font-style: normal;
		font-weight: 400;
	}
	
	.panel
	{
		float: left;
		width: 600px;
		min-height: 720px;
	}
	.panelB
	{
		float: left;
		width: 1200px;
		min-height: 720px;
	}
	
	#indivScore
	{
		position: relative;
		width: 590px;
		height: 60px;
		margin-right: 10px;
		background: #25242a;
		border-radius:5px;
	}
	
	#indivScore2
	{
		position: relative;
		width: 590px;
		height: 60px;
		margin-right: 10px;
		margin-top: 10px;
		background: #25242a;
		border-radius:5px;
	}
	
	#user
	{
		position: absolute;
		width: 320px;
		font-weight: 900;
		font-style: normal;
		font-size: 20px;
		text-align: left;
		text-transform: uppercase;
		color: #b8860b;
		left: 20px;
		bottom: 12px;
	}
	
	#totalScore
	{		
		position: absolute;
		width: 250px;
		font-weight: 900;
		text-align: right;
		left: 340px;
		bottom: 12px;
	}
	
	#totalScoreL
	{
		font-weight: 400;
		font-style: normal;
		font-size: 15px;
		text-transform: uppercase;

	}
	#totalScoreR
	{
		font-weight: 900;
		font-style: normal;
		font-size: 35px;
		padding: 0px 20px 0px 10px;
		text-transform: uppercase;
	}
	
	#starts
	{
		position: absolute;
		width: 110px;
		font-weight: 400;
		font-style: normal;
		font-size: 14px;
		text-align: left;
		text-transform: uppercase;
		color: #b8860b;
		left: 20px;
		bottom: 12px;
		/* background-color:red; */
	}
	
	#team
	{		
		position: absolute;
		width: 450px;
		font-weight: 400;
		font-style: normal;
		text-align: right;
		text-transform: uppercase;
		font-size: 14px;
		left: 120px;
		bottom: 12px;
		/* background-color:green; */
	}
	

	.categoryBestScore
	{
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 590px;
		min-height: 50px;
		margin-right: 10px;
		margin-top: 10px;	
		border-radius: 5px;
		padding: 0 0 15px 0;
	}
	
	.indivScoreCharts
	{
		width: 570px;
		min-height: 326px;
		padding: 10px;
		margin-right: 10px;
		margin-bottom: 10px;			
		background: #25242a;
		border-radius: 5px;
	}
	
	.bestPlayers
	{
		width: 290px;
		min-height: 900px;
		margin-right: 10px;
		margin-bottom: 5px;			
		background: #25242a;
		border-radius: 5px;
		float: left;
	}	
	
	.bestPlayers_year
	{
		border-bottom: 1px #715A5A solid;
		padding: 10px;
		margin-left: 5px;
		margin-right: 5px;
		font-weight: 400;
		font-style: normal;
		font-size: 14px;
		
	}
	
	.bestPlayers_yearL
	{
		text-align: left;
		width: 205px;
		float: left;
	}
	
	.bestPlayers_yearR
	{
		text-align: right;
		width: 55px;
		float: left;
	}
	
	#footer
	{
		width: 1780px;
		background: #25242a;
		color: #D3DAD9;
		padding: 10px;
		text-align: center;
	}

  /* Dodatkowe style specyficzne dla strony logowania, 
           aby wycentrować formularz na ekranie */
        .login-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        .login-panel {
            width: 350px;
            background-color: #44444E;
            padding: 30px;
            border-radius: 5px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .login-panel h1 {
            color: #b8860b; /* Złoty kolor dla nagłówka */
            margin-bottom: 25px;
            border-bottom: 1px solid #715A5A;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            color: #D3DAD9;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .form-group input {
            width: 100%;
            padding: 12px;
            /* Wykorzystujemy Twoje style z input[type=text] */
        }

        .login-button {
            width: 100%;
            padding: 12px;
            cursor: pointer;
            font-weight: 900;
            letter-spacing: 2px;
            margin-top: 10px;
			text-transform: uppercase;
            /* Wykorzystujemy Twoje style z input[type=submit] */
        }
		
/* LOGO LOGO*/		
       .logo-wrapper {
            justify-content: center;
            height: 150px;
            margin: 0;
            font-family: 'Lato', sans-serif;
            display: flex;
            align-items: center;
            gap: 25px; /* Odstęp między znakiem a tekstem */
        }

        /* Stylizacja SVG - powrót do klasycznego sygnetu */
        .shooting-logo {
            width: 150px;
            height: 150px;
            filter: drop-shadow(0px 0px 12px rgba(184, 134, 11, 0.25));
        }

        /* Napis z boku */
        .side-text {
            border-left: 3px solid #b8860b; /* Pionowa kreska oddzielająca */
            padding-left: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .team-name {
            color: #b8860b;
            font-weight: 900;
            font-size: 38px;
            line-height: 0.9;
            text-transform: uppercase;
            margin: 0;
            letter-spacing: 1px;
        }

        .team-location {
            color: #715A5A;
            font-size: 14px;
            font-weight: 400;
            letter-spacing: 5px;
            text-transform: uppercase;
            margin-top: 10px;
            opacity: 0.8;
        }

        /* Animacja pulsującego środka (opcjonalna) */
        .bullseye {
            fill: #b8860b;
        }
		
/* Style dla przycisków nawigacji dnia zawodów */
.nav-arrow {
    background: none;
    border: none;
    color: #b8860b; /* Aktywny kolor złoty */
    font-size: 24px;
    cursor: pointer;
    font-weight: 900;
    transition: color 0.3s ease;
    padding: 0 10px;
}

.nav-arrow:hover {
    color: #D3DAD9; /* Kolor po najechaniu */
}

.nav-arrow:disabled {
    color: #555; /* Kolor szary dla nieaktywnego przycisku */
    cursor: default;
    opacity: 0.5;
}


/* --- STYLE DLA MODALA (USTAWIENIA PROFILU) --- */
.modal-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-window {
    background: #1a1a1a;
    width: 90%;
    max-width: 600px;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #b8860b;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    position: relative;
}


.modal-window2 {
    background: #1a1a1a;
    width: 90%;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #b8860b;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    position: relative;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid #b8860b;
    border-radius: 8px;
    padding: 25px;
    width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    position: relative;
}

.modal-header {
    color: #b8860b;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(184, 134, 11, 0.3);
    padding-bottom: 10px;
    font-size: 16px;
}

.modal-form label {
    display: block;
    color: #715A5A;
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 900;
}

.modal-form input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid #444;
    padding: 10px;
    color: #D3DAD9;
    border-radius: 4px;
    margin-bottom: 12px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 13px;
}

.modal-form input:focus {
    border-color: #b8860b;
    outline: none;
    background: rgba(255,255,255,0.08);
}

/* Separator dla sekcji hasła */
.form-divider {
    height: 1px;
    background: rgba(184, 134, 11, 0.2);
    margin: 10px 0 15px 0;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.btn-save {
    background: #b8860b;
    color: #1a1a1a;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 12px;
    transition: transform 0.2s;
}

.btn-save:hover {
    transform: scale(1.02);
}

.btn-cancel {
    background: transparent;
    color: #D3DAD9;
    border: 1px solid #555;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 12px;
}

.btn-cancel:hover {
    border-color: #777;
    color: #fff;
}



.modal-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #b8860b;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(184, 134, 11, 0.3);
    padding-bottom: 10px;
}

.modal-loading {
    color: #b8860b;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

/* --- FORMULARZ W MODALU --- */

#modal_message {
    display: none;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

.form-label {
    display: block;
    color: #715A5A;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
    margin-top: 10px;
}

.form-input {
    width: 100%;
    background: #252525;
    border: 1px solid #444;
    padding: 10px;
    color: #D3DAD9;
    border-radius: 4px;
    margin-bottom: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #b8860b;
    outline: none;
    background: #2a2a2a;
}

.modal-divider {
    height: 1px;
    background: rgba(184, 134, 11, 0.2);
    margin: 20px 0;
}

/* --- PRZYCISKI --- */

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn-cancel {
    background: #0099ff;
    border: none;
    color: #1a1a1a;
    padding: 8px 5px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.1s, background 0.2s;
	font-size: 12px;
}

.btn-cancel:hover {
    background: #33adff;
}

.btn-delete {
    background: #e74c3c;
    border: none;
    color: #1a1a1a;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.1s, background 0.2s;
	font-size: 12px;
	
}

.btn-delete:hover {
    background: #eb6e60;
}
.btn-delete:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-save {
	background-color: #2ecc71;
    border: none;
    color: #1a1a1a;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.1s, background 0.2s;
	font-size: 12px;
	
}

.btn-save:hover {
    background: #6ede9c;
}

.btn-submit {
    background: #b8860b;
    border: none;
    color: #1a1a1a;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.1s, background 0.2s;
	font-size: 12px;
	
}

.btn-submit:hover {
    background: #f5dea3;
}

.btn-submit:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Honeypot - ukryte pole dla botów */
.hidden-honeypot {
    display: none !important;
}



/*//////////////// ADMIN PANELS /////////////// */


	.editpanelBig
	{
		padding: 15px;
		border-radius: 8px;
		border: 1px solid #b8860b;
		width: 1200px;
		min-height: 250px;
		margin-top: 10px;
		background: #25242a;
		min-height: 100px;

	}
	
	.editpanel
	{
		padding: 15px;
		border-radius: 8px;
		border: 1px solid #b8860b;
		width: 590px;
		margin-right: 10px;
		margin-top: 10px;
		background: #25242a;
		min-height: 100px;
	}
	

	.editpanelhalf
	{
		width: 290px;
		min-height: 800px;
		margin-right: 5px;		
		background: #25242a;
		border-radius: 5px;
	}
	
        input[type="text"], input[type="password"], select { background: #1e1f22; border: 1px solid #3f4147; color: #f2f3f5; padding: 10px; border-radius: 6px; width: 100%; box-sizing: border-box; transition: border-color 0.2s; }
        input:focus, select:focus { border-color: #5865f2; outline: none; }
        input:disabled, select:disabled { opacity: 0.4; cursor: not-allowed; }



        #msg-box { display: none; padding: 15px; border-radius: 6px; margin-top: 15px; font-weight: 500; }
        .msg-success { background: rgba(35, 165, 89, 0.15); color: #23a559; border: 1px solid #23a559; }
        .msg-error { background: rgba(240, 71, 71, 0.15); color: #f04747; border: 1px solid #f04747; }
        tr:hover { background: rgba(184, 134, 11, 0.2); }
		
         :root {
            --bg-main: #313338;
            --bg-dark: #1e1f22;
            --bg-secondary: #2b2d31;
            --text-main: #dbdee1;
            --text-muted: #b5bac1;
            --brand-color: #5865f2;
            --success: #b8860b;
            --danger: #f04747;
        }


        /* Styl przełącznika Toggle */
        .toggle-container {
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            background: var(--bg-secondary);
            padding: 12px 18px;
            border-radius: 8px;
            width: fit-content;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 40px;
            height: 20px;
        }

        .switch input { opacity: 0; width: 0; height: 0; }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #4f545c;
            transition: .4s;
            border-radius: 20px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider { background-color: var(--success); }
        input:checked + .slider:before { transform: translateX(20px); }

/* Usuwamy padding z komórki statusu, żeby kontener miał pełną kontrolę */
.status-cell {
    padding: 0 !important;
    vertical-align: middle;
    text-align: center;
}



/* Kontener, który jest niewidzialnym flexboxem o wysokości komórki */
.dot-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 40px; /* Dopasuj do wysokości swoich wierszy */
    width: 100%;
}

/* Sama kropka */
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block; /* Zmieniamy na block, bo flexbox nim zarządza */
    flex-shrink: 0; /* Żeby kropka się nie zgniatała */
}

.dot-active {
    background-color: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.4);
}

.dot-inactive {
    background-color: #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
}

		
        .badge {     padding: 8px 10px; border-radius: 4px; font-size: 10px; font-weight: bold; text-transform: uppercase; text-align: center;}
        .badge-admin {background-color: #e74c3c; box-shadow: 0 0 8px rgba(231, 76, 60, 0.4);}
        .badge-mod { background-color: #2ecc71; box-shadow: 0 0 8px rgba(46, 204, 113, 0.4);}
        .badge-user { background: #4f545c; }

        .btn-edit {
			background: #b8860b;
			border: none;
			color: #1a1a1a;
			padding: 4px 8px;
			border-radius: 4px;
			cursor: pointer;
			font-weight: 900;
			font-size: 12px;
			text-transform: uppercase;
			transition: transform 0.1s, background 0.2s;
		}
				
        .btn-edit:hover:not(:disabled) { opacity: 0.8; }

        /* Wygląd przycisku gdy jest wyłączony (dla admina) */
        .btn-edit:disabled {
            background: #4e5058;
            cursor: not-allowed;
            opacity: 0.5;
        }

        /* Modal simple styles */
        #editModalOverlay { 
			display: none; 
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.75);
			backdrop-filter: blur(5px);
			z-index: 9999;
			justify-content: center;
			align-items: center;
        }
        .modal-content { background: var(--bg-main); padding: 25px; border-radius: 8px; width: 450px; border: 1px solid #444; }
        .form-group { margin-bottom: 15px; display: flex; flex-direction: column; }
        .form-group label { margin-bottom: 6px; font-size: 12px; color: var(--text-muted); font-weight: bold; text-transform: uppercase; }
        .form-group input, .form-group select { padding: 10px; background: var(--bg-dark); border: 1px solid transparent; color: #fff; border-radius: 4px; }
        .form-group input:focus { border-color: var(--brand-color); outline: none; }
			
/* Stylowanie tabeli wewnątrz tego diva */
.edittable table {
    width: 100%;           /* Kluczowa właściwość */
    table-layout: fixed;    /* Opcjonalnie: wymusza równe proporcje kolumn */
    border-collapse: collapse; /* Usuwa zbędne przerwy między komórkami */
}

/* Opcjonalnie: upewnij się, że komórki też się dopasowują */
.edittable th, 
.edittable td {
    padding: 5px;
    text-align: left;
}





/* STYL DLA ZABLOKOWANEGO PRZYCISKU (gdy są wyniki) */
.btn-delete:disabled {
    background-color: #bdc3c7 !important; /* Szary */
    color: #ecf0f1;
    cursor: not-allowed;
    opacity: 0.7;
    /* Dodanie ikony kłódki przez CSS (opcjonalnie) */
}

	
		
/* do sprawdzenia PANEL EDYCJI ZAWODOW */	
.score-control { display: flex; width: 90px; height: 30px; align-items: center; overflow: hidden;  border-radius: none;}
        .btn-step {color: #4b5563; width: 32px; height: 30px; display: flex; align-items: center; justify-content: center; font-weight: bold; cursor: pointer; user-select: none; transition: all 0.2s; }
        .btn-step:hover { background: #b8860b; color: #111827; }
        .btn-step:active { background: #d1d5db; }
        
        .input-error { border: 2px solid #ef4444 !important; background-color: #f35959 !important; }

        .score-input { width: 45px; height: 28px; text-align: center; padding: 5px; font-size: 0.875rem; font-weight: 700; outline: none; border-radius: none;}
        .score-input:focus { background-color: rgba(184, 134, 11, 0.3); }


	
  #userModal {
    /* Nadpisujemy display:none z Twoich starych stylów, bo Tailwind zrobi to klasą flex */
    display: flex !important; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999; /* Bardzo wysoki z-index */
	}
        

        
/* Kontener na toasty */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 250px;
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-out forwards;
}

.toast-success { background-color: #10b981; border-left: 6px solid #059669; }
.toast-error   { background-color: #ef4444; border-left: 6px solid #dc2626; }
.toast-warning { background-color: #f59e0b; border-left: 6px solid #d97706; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

.btn-red_fontello {
	color: red;
	font-size: 25px;
	align: center;
}

.btn-orange_fontello {
	color: #b8860b;
	font-size: 30px;
	align: center;
}

.score-title {
    color: #b8860b;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
	text-align: center;      /* Środkowanie w poziomie */
    vertical-align: middle;  /* Środkowanie w pionie */
}


        .modal-event { transition: opacity 0.25s ease; }

        .event-custom-scroll::-webkit-scrollbar { width: 6px; }
        .event-custom-scroll::-webkit-scrollbar-track { background: #f8fafc; }
        .event-custom-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
        
        /* Gwarancja przewijania i braku prześwitów */
        .sticky-header-container {
            position: sticky;
            top: 0;
            z-index: 50;
            background: white;
        }

        .scroll-area {
            height: 400px; /* Stała wysokość dla listy, aby wymusić scroll */
            overflow-y: auto;
        }

        .sticky-th {
            position: sticky;
            top: 0;
            background: #f9fafb; /* bg-gray-50 */
            z-index: 40;
            box-shadow: inset 0 -1px 0 #edf2f7;
        }
