/*üzenetek*/

        .messages-content {
            
            width: 100%;
            max-width: 1100px;
            height: 650px;
            margin: 0 auto 50px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            display: flex;
            overflow: hidden;
        }
        .partner-list {
            width: 33.33%;
            border-right: 1px solid #e0e0e0;
            overflow-y: auto;
        }
        .message-area {
            width: 66.67%;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            padding: 5px;
        }
        .user-item {
            padding: 10px;
            border-bottom: 1px solid #e0e0e0;
            cursor: pointer;
        }
        .user-item:hover, .user-item.active {
            background-color: #f5f5f5;
        }
        .message-item {
            margin-bottom: 10px;
            padding: 10px;
            background-color: #f9f9f9;
            border-radius: 5px;
            cursor: pointer;
        }
        .message-sent {
            background-color: #ffe6e9;
            text-align: right;
        }
        .message-received {
            background-color: #f0f0f0;
            text-align: left;
        }
        .message-preview {
            font-weight: bold;
            margin-bottom: 5px;
        }
        .message-details {
            font-size: 0.9em;
            color: #666;
        }
        .full-message {
            display: flex;
            flex-direction: column;
            height: 100%;
            overflow: hidden;
        }
        .full-message-content {
            flex-grow: 1;
            overflow-y: auto;
            padding: 20px;
            margin-bottom: 10px;
        }
        .full-message-content::-webkit-scrollbar {
            width: 5px;
        }
        .full-message-content::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        .full-message-content::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 5px;
        }
        .full-message-content::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
        .attachments {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            padding: 10px 20px;
            border-top: 1px solid #e0e0e0;
        }
        .attachment {
            background-color: #f0f0f0;
            border-radius: 5px;
            padding: 5px 10px;
            margin: 5px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .button-container {
            display: flex;
            justify-content: space-between;
            padding: 10px 20px;
            border-top: 1px solid #e0e0e0;
        }
        .button {
            padding: 5px 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .back-button {
            background-color: #f0f0f0;
        }
        .reply-button, .send-message-button {
            background-color: #007bff;
            color: white;
        }
        .no-messages {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
        }
        .mobile-header {
            display: none;
            height: 30px;
            background-color: #007bff;
            color: white;
            align-items: center;
            padding: 0 10px;
            position: fixed;
            top: 60px;
            left: 0;
            right: 0;
            z-index: 1000;
        }
        .mobile-menu-icon {
            cursor: pointer;
        }
        @media (max-width: 768px) {
            .messages-content {
                flex-direction: column;
                height: calc(100vh - 90px);
                margin-top: -50px;
            }
            .partner-list {
                position: fixed;
                top: 90px;
                left: 0;
                right: 0;
                width: 100%;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-out;
                background-color: white;
                z-index: 999;
                box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            }
            .partner-list.open {
                max-height: 300px;
                overflow-y: auto;
            }
            .message-area {
                width: 100%;
                height: 100%;
            }
            .mobile-header {
                display: flex;
            }
        }

/*Dashboard*/
.dashboard {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
        .widget {
            background-color: var(--card-background);
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
            transition: all 0.3s ease;
        }
        .widget:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        .widget h2 {
            color: var(--primary-color);
            margin-top: 0;
            font-size: 1.2em;
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 10px;
        }
        .stat {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        .stat-value {
            font-size: 1.5em;
            font-weight: bold;
            color: var(--darker-color);
        }
        .icon {
            font-size: 2em;
            color: var(--primary-color);
            margin-right: 10px;
        }
        .progress-bar {
            background-color: var(--lighter-color);
            border-radius: 10px;
            height: 10px;
            margin-top: 10px;
        }
        .progress {
            background-color: var(--primary-color);
            border-radius: 10px;
            height: 100%;
            width: 0;
            transition: width 1s ease-in-out;
        }
        .alerts {
            max-width: 1100px;
            margin: 0 auto 20px;
        }
        .alert {
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        .alert-red {
            background-color: var(--red-alert);
            color: white;
        }
        .alert-yellow {
            background-color: var(--yellow-alert);
            color: black;
        }
        .alert-icon {
            margin-right: 10px;
            font-size: 1.2em;
        }
        .alert a {
            color: white;
            font-weight: bold;
            text-decoration: none;
        }
        .todo-list {
            list-style-type: none;
            padding: 0;
        }
        .todo-list li {
            margin-bottom: 10px;
        }
        .todo-list a {
            color: var(--primary-color);
            text-decoration: none;
        }
        .todo-list a:hover {
            text-decoration: underline;
        }
        .tooltip {
            position: relative;
            display: inline-block;
            border-bottom: 1px dotted black;
        }
        .tooltip .tooltiptext {
            visibility: hidden;
            width: 120px;
            background-color: #555;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px 0;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -60px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        @media (max-width: 768px) {
            .dashboard {
                grid-template-columns: 1fr;
            }
            .alert {
                text-align: right;
            }
            .alert-icon {
                margin-right: auto;
            }
        }

/*Dashboard end*/

body {
    margin-top: 50px;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    height: calc(100% - 60px);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

button {
    background-color: #45a049;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #388e3c;
}

.header {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.floating-icons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
}

.floating-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(50px);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.floating-icon i {
    color: white;
    font-size: 24px;
}

.floating-icon:hover {
    transform: scale(1.1);
}

@keyframes iconEntrance {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo {
    height: 50px;
    max-width: 170px;
    object-fit: contain;
}

.menu {
    display: flex;
    align-items: center;
    white-space: nowrap; /* Megakadályozza a szövegtörést */
}

.menu a {
    color: white;
    text-decoration: none;
    margin-left: 5px;
    padding: 10px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap; /* Megakadályozza a szövegtörést */
}

.menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.menu a.active {
    font-weight: bold;
}

.menu a.active::before {
    content: "\f061"; /* Font Awesome nyíl ikon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* Font Awesome 5 Free használt font-weight */
    margin-right: 8px; /* Távolság az ikon és a szöveg között */

}

.login-logout, .register {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    color: white;
    padding: 5px;
    display: flex;
    align-items: center;
}


.login-logout:hover, .register:hover {
    opacity: 0.8;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.auth-text {
    display: none;
    margin-left: 5px;
}

.hamburger {
    display: none;
    font-size: 1.5em;
    color: white;
    cursor: pointer;
}

.floating-user-role {
    position: fixed;
    top: 100px;
    left: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: #ffffff;
    padding: 10px 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 5px 0 0 5px;
}

.floating-user-role.expanded {
    width: auto;
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    padding: 10px;
}

.floating-user-role .buttons {
    display: none;
}

.floating-user-role.expanded .buttons {
    display: block;
    margin-top: 10px;
}

.floating-user-role .buttons a {
    display: block;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
}

.settings-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.settings-link i {
    margin-right: 5px;
}

.instr_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.instr_tab {
    padding: 10px 15px;
    background-color: #3498db;
    font-size: 13px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.instr_tab:hover, .instr_tab.active {
    background-color: #2980b9;
}

.instr_submit { 
    color: white; 
    border: none; 
    padding: 12px 24px; 
    cursor: pointer; 
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.instructor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

/*Fizetési beállítások*/

.payment-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            font-family: Arial, sans-serif;
        }
        .payment-header {
            margin-bottom: 20px;
        }
        .payment-section {
            margin-bottom: 30px;
            border: 1px solid #ddd;
            padding: 20px;
            border-radius: 5px;
        }
        
        .payment-toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .payment-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }
        .payment-slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .payment-slider {
            background-color: #2196F3;
        }
        input:checked + .payment-slider:before {
            transform: translateX(26px);
        }
        .payment-form-group {
            margin-bottom: 15px;
        }
        .payment-label {
            display: block;
            margin-bottom: 5px;
        }
        .payment-input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .payment-submit {
            background-color: #4CAF50;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .payment-submit:hover {
            background-color: #45a049;
        }
        #payment-success-alert {
            display: none;
            padding: 10px;
            margin-bottom: 15px;
            border-radius: 4px;
            color: white;
        }
        
/*Fizetés vége*/

.view-toggle {
    text-align: right;
    margin-bottom: 20px;
}

.view-toggle button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.view-toggle button:hover {
    transform: scale(1.1);
}

.view-toggle svg {
    width: 30px;
    height: 30px;
}

.instructor-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.instructor-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.instructor-card .content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.instructor-card h2 {
    margin: 0 0 10px;
    font-size: 1.1em;
}

.instructor-card .car-info {
    font-size: 15px;
    color: #666;
}

.instructor-list-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    transition: all 0.3s ease;
}

.instructor-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.instructor-list-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.instructor-list-item .instructor-details {
    flex: 1;
    padding: 15px;
}

.instructor-list-item h2 {
    margin: 0 0 10px;
}

.instructor-list-item .car-info, .instructor-list-item .experience {
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #666;
}

.instructor-list-item .info {
    font-style: italic;
    font-size: 0.9em;
    color: #888;
    margin-top: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    padding: 8px 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 4px;
    border-radius: 4px;
}

.pagination a.active {
    color: white;
}

.pagination a:hover:not(.active) {
    color: white;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.popup-data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.popup-data-label {
    font-weight: bold;
}

.popup-data-value {
    text-align: right;
}

.single-instructor {
    max-width: 300px;
    margin: 0 auto;
    transform: scale(1.5);
    transform-origin: top center;
    padding-bottom: 100px;
}

.no-instructors {
    text-align: center;
    font-size: 1.5em;
    margin-top: 50px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prices_container { 
    max-width: 1200px; 
    margin: 0 auto; 
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tab-buttons { 
    display: flex; 
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button { 
    padding: 10px 15px;
    background-color: #3498db;
    font-size: 13px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-button:hover, .tab-button.active {
    background-color: #2980b9;
}

.tab-button.payment {
    background-color: #FFD700;
    color: #000;
}

.tab-button.payment:hover {
    background-color: #FFC700;
}

.tab-button.payment i {
    margin-right: 5px;
}

.tab-content { 
    display: none; 
    background-color: white;
    padding: 20px;
    border-radius: 0 0 8px 8px;
}

.tab-content.active { 
    display: block; 
}

.form-container { 
    margin-bottom: 20px; 
}

.form-input { 
    display: block; 
    width: 100%; 
    margin-bottom: 15px; 
    padding: 10px; 
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-submit, .payment-submit {
    color: white; 
    border: none; 
    padding: 12px 24px; 
    cursor: pointer; 
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.success-message { 
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

h2.traffic-rates {
    margin-top: 25px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #2980b9;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    white-space: nowrap;
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: #f8f8f8;
}
/*Árak*/
.price-edit-btn, .delete-btn, .save-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 5px;
}

.edit-btn {
    background-color: #ffc107;
    color: #000000;
}

.edit-btn:hover {
    background-color: #45a049;
    color: #FFFFFF;
}

.delete-btn {
    background-color: #f44336;
    color: white;
}

.delete-btn:hover {
    background-color: #da190b;
}

.save-btn {
    background-color: #2196F3;
    color: white;
    display: none;
}

.save-btn:hover {
    background-color: #0b7dda;
}

.actions-cell {
    text-align: right;
    white-space: nowrap;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 8px;
    text-align: center;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.confirm-button {
    background-color: #4CAF50;
    color: white;
}

.cancel-button {
    background-color: #f44336;
    color: white;
}

.payment-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.payment-header {
    margin-bottom: 20px;
}

.payment-stripelogo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-logo img {
    height: 50px;
    margin-right: 20px;
}

.payment-toggle-container {
    display: flex;
    align-items: center;
}

.payment-toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.payment-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.payment-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .payment-slider {
    background-color: var(--payment-primary-color);
}

input:checked + .payment-slider:before {
    transform: translateX(26px);
}

.payment-form-group {
    margin-bottom: 20px;
}

.payment-label {
    display: block;
    margin-bottom: 5px;
    color: var(--payment-secondary-color);
}

.payment-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.payment-submit {
    background-color: var(--payment-primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.payment-submit:hover {
    background-color: #555abf;
}

#payment-success-alert {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
}

.payment-description {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    color: var(--payment-secondary-color);
}

.payment-stripe-signup {
    text-align: center;
    margin-top: 20px;
}

.payment-stripe-signup a {
    color: var(--payment-primary-color);
    text-decoration: none;
}

.payment-stripe-signup a:hover {
    text-decoration: underline;
}

.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.profile-header {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.profile-header h1 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.profile-content {
    display: flex;
    flex-wrap: wrap;
    padding: 2rem;
}

.profile-section {
    flex: 1 1 300px;
    margin: 1rem;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.profile-section h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.data-item {
    margin-bottom: 1rem;
}

.data-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.special-data {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.special-item {
    text-align: center;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    flex: 1 1 200px;
    margin: 0.5rem;
}

.edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.save-btn, .cancel-btn {
    display: none;
    margin-top: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.payment-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .header-content {
        max-width: none;
    }
    .hamburger {
        display: block;
    }
    .menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        z-index: 9998;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .menu.active {
        display: flex;
    }
    .menu a {
        margin: 10px 0;
        text-align: center;
    }
    .auth-buttons {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
    }
    .login-logout, .register {
        margin: 0 10px;
    }
    .auth-text {
        display: inline;
    }
    .menu-separator {
        width: 80%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.3);
        margin: 10px auto;
    }
    .menu-contact {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
    }
    .menu-contact a {
        color: white;
        text-decoration: none;
        font-size: 1.2em;
        display: flex;
        align-items: center;
    }
    .menu-contact i {
        margin-right: 10px;
    }
    .settings-link {
        justify-content: center;
        width: 100%;
    }
    table {
        font-size: 14px;
    }
    th, td {
        padding: 8px 10px;
    }
    .edit-btn, .delete-btn, .save-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
    .profile-content {
        flex-direction: column;
    }
}

/*foglalások*/
.book-container {
            width: 95%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 10px;
        }
        h1 {
            text-align: center;
            color: var(--primary-color);
            margin-bottom: 30px;
            font-size: 24px;
        }
        .booking-group {
            background-color: var(--card-background);
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            overflow: hidden;
        }
        .booking-header {
            background-color: var(--primary-color);
            color: white;
            padding: 15px;
            font-size: 16px;
            font-weight: bold;
        }
        .booking-table {
            width: 100%;
            border-collapse: collapse;
        }
        .booking-table th, .booking-table td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #e0e0e0;
        }
        .booking-table th {
            background-color: var(--secondary-color);
            color: white;
            font-weight: bold;
        }
        .status-badge {
            padding: 5px 10px;
            border-radius: 4px;
            color: white;
            font-weight: bold;
        }
        .action-buttons {
            display: flex;
            gap: 10px;
        }
        .btn {
            padding: 5px 10px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }
        .btn-accept {
            background-color: #4caf50;
            color: white;
        }
        .btn-resign {
            background-color: #f44336;
            color: white;
        }
        .btn-reject {
            background-color: #ff9800;
            color: white;
        }
        .filter-form {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            align-items: center;
        }
        .filter-form input, .filter-form select {
            padding: 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
            flex: 1;
        }
        .filter-form button {
            padding: 5px 10px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            white-space: nowrap;
        }
        .popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .popup-content {
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            text-align: center;
        }
        .popup-buttons {
            margin-top: 20px;
        }
        .success-alert {
            display: none;
            background-color: #4caf50;
            color: white;
            padding: 10px;
            border-radius: 4px;
            margin-bottom: 20px;
        }
        @media (max-width: 768px) {
            .booking-table, .booking-table tbody, .booking-table tr, .booking-table td {
                display: block;
            }
            .booking-table thead {
                display: none;
            }
            .booking-table tr {
                margin-bottom: 15px;
                border-bottom: 2px solid var(--primary-color);
            }
            .booking-table td {
                text-align: right;
                padding-left: 50%;
                position: relative;
                border-bottom: 1px solid #eee;
            }
            .booking-table td::before {
                content: attr(data-label);
                position: absolute;
                left: 6px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                font-weight: bold;
                text-align: left;
            }
            .action-buttons {
                flex-direction: column;
            }
        }