/* Dodatkowe */
a {
    color: #2575fc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.additional-link {
    margin-top: 20px;
    font-size: 0.9rem;
}

.additional-link a {
    color: linear-gradient(135deg, #5a0dbb, #1f65eb);
    text-decoration: none;
    font-weight: bold;
}

.additional-link a:hover {
    text-decoration: underline;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-box h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Ogólne */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
   /* background: linear-gradient(135deg, #6a11cb, #2575fc);*/
    color: #333;
    min-height: 100vh;
   /* display: flex; */
    align-items: center;
    justify-content: center;
}

.btn {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #5a0dbb, #1f65eb);
}

.container {
    width: 90%;
    margin: 0 auto;
}

.content {
    margin-left: 250px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.copy-button {
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 0.9em;
    cursor: pointer;
    border: 1px solid #007bff;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
}
.copy-button:hover {
    background-color: #0056b3;
}

.cta {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    background: linear-gradient(135deg, #5a0dbb, #1f65eb);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta:hover {
    background: linear-gradient(135deg, #5a0dbb, #1f65eb);
    transform: scale(1.05);
}

/* Wiadomości błędów i sukcesów */
.error {
    color: red;
    font-size: 0.9em;
    margin-bottom: 15px;
	font-size: 0.9rem;
}


/* Sekcja funkcji */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin-top: 30px;
}

.feature {
    flex: 1 1 calc(30.0% - 20px);
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.feature img {
    width: 80px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1em;
    line-height: 1.5;
}

footer {
    text-align: center;
    padding: 15px;
    background: white;
    color: #333;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #2575fc;
    outline: none;
}

.hamburger {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 24px;
    background: none;
    border: none;
    color: black;
    z-index: 1001;
    cursor: pointer;
}


/* Hero sekcja */
.hero {
    position: relative;
    width: 100%;
    height: 650px;
    background-image: url('../img/hero5.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
	margin-left:10%;
}

.hero h1 {
    font-size: 3em;
    margin: 0;
}

.hero p {
    font-size: 1.5em;
    margin: 10px 0 20px;
}

header .logo-section img {
    height: 40px;
}
header .logo-section a{
	text-decoration: none;
    color: #333;
    font-weight: 500;
	font-size:40px;
    padding: 5px 10px;
    transition: color 0.3s ease;
	margin-bottom:10px;
}

header.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .menu-section {
    display: flex;
    gap: 20px;
}


header .menu-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

header .menu-section ul li {
    display: inline;
}

header .menu-section ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

header .menu-section ul li a:hover {
    color: #2575fc;
}


header .user-section {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.info-icon {
    margin-left: 5px;
    font-size: 1em;
    color: #888;
    cursor: pointer;
}
.info-icon:hover {
    color: #555;
}	

.info-icon:hover .tooltip,
.info-icon.active .tooltip {
    display: block;
}	

.language-switch {
    position: relative;
    cursor: pointer;
}

.language-switch .language-button {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.language-switch .language-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    z-index: 10;
}

.language-switch:hover .language-dropdown {
    display: block;
}

.language-switch .language-dropdown li {
    padding: 5px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.language-switch .language-dropdown li:hover {
    background-color: #f4f4f4;
}

.loyalty-card {
    background-color: #f7f7f7;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 300px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.loyalty-card h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}
.loyalty-card p {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #555;
}
.loyalty-card .user-code {
    font-size: 2rem;
    font-weight: bold;
    color: #2575fc;
    letter-spacing: 2px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}
.popup-actions {
    margin-top: 20px;
}

.user-icon a,
.user-icon form button {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
}

.user-icon form button {
    padding: 0;
}

.user-url {
    font-size: 0.9rem;
    color: #555;
    overflow-wrap: break-word;
    flex-grow: 1;
}
.user-url-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}
		
/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: white;
    color: #333;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    transition: transform 0.3s ease;
    transform: translateX(0);
    z-index: 1000;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.sidebar .logo {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: bold;
}

.sidebar nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar nav ul li {
    margin: 15px 0;
}

.sidebar nav ul li a {
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

.sidebar nav ul li a:hover {
    transition: transform 0.3s ease;
	color: #2575fc;
}

.success {
    color: green;
    font-size: 0.9em;
    margin-bottom: 15px;
}


/* Tabele */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #f4f4f4;
    font-weight: bold;
    color: #333;
}

table td {
    color: #555;
}

table td a {
    color: #2575fc;
    text-decoration: none;
}

table td a:hover {
    text-decoration: underline;
}

.tooltip {
	display: none;
	position: absolute;
	background-color: #333;
	color: #fff;
	padding: 5px 10px;
	font-family: Arial;
	border-radius: 5px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	white-space: pre-wrap;
	max-width: 300px;
	margin-top: 5px;
	font-weight:300;
}


/* Responsywność */
@media (max-width: 768px) {
	header .logo-section a{
		font-size:20px;
	}
	
	.hero
	{
		height:auto;
	}
	
	.hero-overlay{
		padding:10px;
		width:30%;
		margin:20px;
	}
	
	.hero h1{
		font-size: 1em;
	}
	
	.hero p{
		font-size: 0.6em;
	}
	
	.cta{
		padding: 10px;
		font-size:1em;
	}
	
    .features {
        flex-direction: column;
    }

    .feature {
        flex: 1 1 100%;
    }


    .auth-box {
        padding: 20px;
    }

    .auth-box h1 {
        font-size: 1.5rem;
    }
	
	.auth-container {
        width: 90%;
    }

    .form-group input {
        padding: 8px;
    }

    .btn {
        padding: 8px;
        font-size: 0.9rem;
    }
	    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .content {
        margin-left: 0;
		margin-top: 30px;
    }

    .hamburger {
        display: block;
    }
}
