/* Modern and Graphical Design for FÃƒÆ’Ã‚Â©nykÃƒÆ’Ã‚Â©plabor Chat - ModernizÃƒÆ’Ã‚Â¡lt verziÃƒÆ’Ã‚Â³ */

/* Import korszerÃƒâ€¦Ã‚Â± fontok */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Alap stÃƒÆ’Ã‚Â­lusok ÃƒÆ’Ã‚Â©s reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* SzÃƒÆ’Ã‚Â­npaletta frissÃƒÆ’Ã‚Â­tve */
    --primary-color: #b31217;
    --primary-light: #e53935;
    --primary-dark: #8f0f13;
    --secondary-color: #4d5b73;
    --secondary-light: #778195;
    --secondary-dark: #2e3951;
    
    /* KiemelÃƒâ€¦Ã¢â‚¬Ëœ szÃƒÆ’Ã‚Â­nek */
    --accent-blue: #b31217;
    --accent-green: #34a853;
    --accent-red: #b31217;
    --accent-yellow: #fbbc05;
    
    /* HÃƒÆ’Ã‚Â¡ttÃƒÆ’Ã‚Â©rszÃƒÆ’Ã‚Â­nek */
    --bg-light: #f8f9fb;
    --bg-white: #ffffff;
    --bg-dark: #1f2937;
    --bg-light-gray: #f3f4f6;
    
    /* SzÃƒÆ’Ã‚Â¶veg szÃƒÆ’Ã‚Â­nek */
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --text-white: #ffffff;
    
    /* EgyÃƒÆ’Ã‚Â©b vÃƒÆ’Ã‚Â¡ltozÃƒÆ’Ã‚Â³k */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body, html {
    height: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    background-image: linear-gradient(135deg, #f4f5f8 0%, #e9edf2 100%);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* TovÃƒÆ’Ã‚Â¡bbfejlesztett betÃƒÆ’Ã‚Â¶ltÃƒâ€¦Ã¢â‚¬Ëœ overlay animÃƒÆ’Ã‚Â¡ciÃƒÆ’Ã‚Â³val */
#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
}

#loading-overlay .loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 35px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 280px;
    max-width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#loading-overlay .loading-content i {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
}

#loading-overlay .loading-content i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 109, 0, 0.2);
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#loading-overlay .loading-content p {
    font-size: 16px;
    font-weight: 500;
}

/* ModernizÃƒÆ’Ã‚Â¡lt chat kontÃƒÆ’Ã‚Â©ner */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-xl);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

/* Fejlett fejlÃƒÆ’Ã‚Â©c, modernebb gradiens */
header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    color: var(--text-white);
    position: relative;
    z-index: 10;
}

header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 2.5s infinite linear;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

header img {
    height: 48px;
    margin-right: 18px;
    border-radius: 50%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform var(--transition-normal);
}

header img:hover {
    transform: scale(1.05) rotate(5deg);
}

header .chatbot-user {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ModernizÃƒÆ’Ã‚Â¡lt fÃƒâ€¦Ã¢â‚¬Ëœ chat terÃƒÆ’Ã‚Â¼let */
main {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    background-color: var(--bg-light);
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(0, 0, 0, 0.02) 2%, transparent 2.5%),
        radial-gradient(circle at 75px 75px, rgba(0, 0, 0, 0.02) 2%, transparent 2.5%);
    background-size: 100px 100px;
    scroll-behavior: smooth;
    position: relative;
}

/* TovÃƒÆ’Ã‚Â¡bbfejlesztett gÃƒÆ’Ã‚Â¶rgetÃƒâ€¦Ã¢â‚¬ËœsÃƒÆ’Ã‚Â¡v */
main::-webkit-scrollbar {
    width: 6px;
}

main::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--border-radius-full);
}

main::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--border-radius-full);
}

main::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ÃƒÆ’Ã…â€œzenet stÃƒÆ’Ã‚Â­lusok modernizÃƒÆ’Ã‚Â¡lva */
.message-row {
    display: flex;
    margin-bottom: 24px;
    align-items: flex-end;
    position: relative;
    animation: fadeInUp 0.4s ease-out;
    /* max-width: 90%; */
}

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

.message-row.user {
    justify-content: flex-end;
    margin-left: auto;
}

.message-row.bot {
    justify-content: flex-start;
    margin-right: auto;
}

.message {
    padding: 16px 20px;
    font-size: 15px;
    position: relative;
    box-shadow: var(--shadow-md);
    line-height: 1.5;
    border-radius: var(--border-radius-lg);
    max-width: 100%;
}

.message.user {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--text-white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 var(--border-radius-lg);
    margin-left: 15px;
}

.message.bot {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) var(--border-radius-lg) 0;
    margin-right: 15px;
}

.message p {
    margin-bottom: 10px;
}

.message p:last-child {
    margin-bottom: 0;
}

.message p a {
    color: var(--text-white);
    text-decoration: underline;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    display: inline-block;
}

.message p a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.message p a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.message p a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.message small.time {
    display: block;
    text-align: right;
    font-size: 11px;
    opacity: 0.7;
    margin-top: 8px;
    font-weight: 300;
}

.message-row img {
    /* width: 70px; */
    height: 185px;
    /* border-radius: 50%; */
    object-fit: cover;
    background: aliceblue;
    border: 2px solid var(--bg-white);
    box-shadow: var(--shadow-md);
}

img[alt="Robot"] {
    margin-right: 10px;
    width: 42px;
    height: 42px;
    background: var(--bg-white);
    border-radius: 50%;
    padding: 2px;
}

/* ÃƒÆ’Ã¢â‚¬Â°rtÃƒÆ’Ã‚Â©kelÃƒÆ’Ã‚Â©s kontÃƒÆ’Ã‚Â©ner ÃƒÆ’Ã‚Â¼vegmorfizmussal */
.rating-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    text-align: center;
    border-radius: var(--border-radius-md);
    padding: 12px;
    margin-top: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.rating {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.star {
    color: rgba(255, 255, 255, 0.5);
    font-size: 22px;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin: 0 3px;
    position: relative;
}

.star:hover, .star.hover {
    transform: scale(1.25);
    color: #FFD700;
}

.star.selected {
    color: #FFD700;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.star::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: transparent;
    z-index: -1;
    transition: background-color var(--transition-normal);
}

.star:hover::before, .star.hover::before {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ModernizÃƒÆ’Ã‚Â¡lt lÃƒÆ’Ã‚Â¡brÃƒÆ’Ã‚Â©sz, tovÃƒÆ’Ã‚Â¡bbfejlesztett beviteli mezÃƒâ€¦Ã¢â‚¬Ëœk */
footer {
    padding: 20px;
    background-color: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

/* ÃƒÆ’Ã…Â¡jratervezett bemeneti rÃƒÆ’Ã‚Â©sz - egy vonalban a csatolmÃƒÆ’Ã‚Â¡ny ÃƒÆ’Ã‚Â©s speech toggle */
.input-container {
    display: flex;
    align-items: center;
    margin-bottom: -4px;
}

footer form#message-form {
    display: flex;
    flex: 1;
    align-items: center;
    background-color: var(--bg-light-gray);
    border-radius: var(--border-radius-full);
    padding: 6px 6px 6px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
    margin-right: 10px;
}

footer form#message-form:focus-within {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

footer input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    outline: none;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
}

footer input[type="text"]::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

footer button.submit-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--text-white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    margin-left: 5px;
}

footer button.submit-button i {
    font-size: 16px;
}

footer button.submit-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(230, 81, 0, 0.2);
}

footer button.submit-button:active {
    transform: scale(0.95);
}

/* CsatolmÃƒÆ’Ã‚Â¡ny ÃƒÆ’Ã‚Â©s felolvasÃƒÆ’Ã‚Â¡s egy vonalba rendezve */
.bottom-controls {
    display: flex;
    align-items: center;
    margin-top: 10px;
    justify-content: space-between;
}


/* CsatolmÃ¡ny Ã©s kÃ©pelemzÃ©s stÃ­lusok */
.attachment-form {
    display: flex;
    align-items: center;
}

.attachment-button {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.attachment-button:hover {
    background: #e0e0e0;
}

.attachment-button i {
    margin-right: 5px;
}

.file-name {
    margin-left: 10px;
    font-size: 0.85em;
    color: #666;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* KÃ©pelemzÃ©s kontÃ©ner stÃ­lusok */
.image-analysis-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
    animation: slide-in 0.5s ease-out;
}

@keyframes slide-in {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ReszponzÃ­v elemek */
@media (max-width: 768px) {
    .product-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .file-name {
        max-width: 100px;
    }
}


.attachment-button {
    background: var(--secondary-color);
    border: none;
    color: var(--text-white);
    padding: 8px 14px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

.attachment-button i {
    margin-right: 8px;
    font-size: 16px;
}

.attachment-button:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.file-name {
    margin-left: 12px;
    font-size: 13px;
    color: var(--text-medium);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ModernizÃƒÆ’Ã‚Â¡lt toggle kapcsolÃƒÆ’Ã‚Â³ a beszÃƒÆ’Ã‚Â©dhez */
.toggle-wrapper {
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
    margin-right: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: .3s;
    border-radius: 22px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 2px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(21px);
}

.toggle-text {
    font-size: 13px;
    color: var(--text-medium);
    font-weight: 500;
}

/* RendelÃƒÆ’Ã‚Â©s mÃƒÆ’Ã‚Â³dosÃƒÆ’Ã‚Â­tÃƒÆ’Ã‚Â¡s modÃƒÆ’Ã‚Â¡l stÃƒÆ’Ã‚Â­lusok - modernizÃƒÆ’Ã‚Â¡lt */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    background-color: var(--bg-white);
    margin: 8% auto;
    padding: 25px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 80%;
    max-width: 600px;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal h2 {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    font-size: 24px;
}

.modal h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
}

.close {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color var(--transition-fast);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.05);
}

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

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.half {
    width: 50%;
}

.third {
    width: 30%;
}

.two-thirds {
    width: 70%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-medium);
    font-size: 14px;
}

.form-group span.info-display {
    display: inline-block;
    padding: 8px 12px;
    font-weight: 500;
    color: var(--text-dark);
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    font-size: 15px;
    transition: all var(--transition-normal);
    background-color: var(--bg-light);
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
    outline: none;
    background-color: var(--bg-white);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    font-weight: 500;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 10px rgba(230, 81, 0, 0.2);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 81, 0, 0.3);
}

.btn.primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(230, 81, 0, 0.25);
}

.btn.secondary {
    background: var(--bg-light);
    color: var(--text-medium);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn.secondary:hover {
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn.secondary:active {
    background: var(--bg-light-gray);
}

/* ModernizÃƒÆ’Ã‚Â¡lt rendelÃƒÆ’Ã‚Â©si lista stÃƒÆ’Ã‚Â­lusok */
.order-selector {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    font-size: 15px;
    background-color: var(--bg-light);
    margin-bottom: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.order-selector:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
    outline: none;
    background-color: var(--bg-white);
}

.order-selector:hover {
    border-color: var(--secondary-light);
}

.order-selector option {
    padding: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

#no-orders-message {
    text-align: center;
    padding: 40px 0;
    color: var(--text-medium);
}

#no-orders-message p {
    margin-bottom: 25px;
    font-size: 16px;
    color: var(--text-medium);
}

/* Kompakt modÃƒÆ’Ã‚Â¡l ÃƒÆ’Ã‚Â©s tab rendszer stÃƒÆ’Ã‚Â­lusok */
.modal-content.compact {
    padding: 22px;
    max-width: 500px;
}

.modal-content.compact h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.modal-content.compact .form-group {
    margin-bottom: 14px;
}

.modal-content.compact input,
.modal-content.compact .order-selector {
    padding: 10px 14px;
    font-size: 14px;
}

.modal-content.compact label {
    margin-bottom: 4px;
    font-size: 13px;
}

.modal-content.compact .form-actions {
    margin-top: 20px;
}

/* Tab rendszer modernizÃƒÆ’Ã‚Â¡lva */
.tabs-container {
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.tab-button {
    padding: 10px 16px;
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    margin-right: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    transition: all var(--transition-fast);
    position: relative;
    top: 1px;
}

.tab-button:hover {
    background: var(--bg-white);
    color: var(--text-dark);
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-pane {
    display: none;
    padding: 10px 0;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* ModernizÃƒÆ’Ã‚Â¡lt gyorsparancsok */
.quick-commands {
    background-color: var(--bg-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.commands-toggle {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 12px 18px;
    text-align: center;
    cursor: pointer;
    border: none;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    border-radius: 0;
    font-family: 'Outfit', sans-serif;
}

.commands-toggle:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 70%, var(--primary-color) 100%);
}

.commands-toggle i {
    margin-left: 10px;
    transition: transform var(--transition-normal);
}

.commands-toggle.active i {
    transform: rotate(180deg);
}

/* HasonlÃƒÆ’Ã‚Â³ termÃƒÆ’Ã‚Â©kek linkjeinek javÃƒÆ’Ã‚Â­tÃƒÆ’Ã‚Â¡sa */
.similar-product-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 200px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 15px;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative; /* BiztosÃƒÆ’Ã‚Â­tjuk, hogy a pozÃƒÆ’Ã‚Â­cionÃƒÆ’Ã‚Â¡lÃƒÆ’Ã‚Â¡s megfelelÃƒâ€¦Ã¢â‚¬Ëœ */
    z-index: 1; /* Z-index beÃƒÆ’Ã‚Â¡llÃƒÆ’Ã‚Â­tÃƒÆ’Ã‚Â¡sa */
}

.similar-product-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2; /* Magasabb z-index, hogy kattinthatÃƒÆ’Ã‚Â³ legyen */
    cursor: pointer; /* EgyÃƒÆ’Ã‚Â©rtelmÃƒâ€¦Ã‚Â±en jelzi, hogy kattinthatÃƒÆ’Ã‚Â³ */
    padding: 5px 10px; /* Nagyobb kattintÃƒÆ’Ã‚Â¡si terÃƒÆ’Ã‚Â¼let */
    margin: -5px; /* KompenzÃƒÆ’Ã‚Â¡lja a padding-et, hogy ne vÃƒÆ’Ã‚Â¡ltozzon a vizuÃƒÆ’Ã‚Â¡lis mÃƒÆ’Ã‚Â©ret */
    pointer-events: auto !important; /* KikÃƒÆ’Ã‚Â©nyszerÃƒÆ’Ã‚Â­ti a kattinthatÃƒÆ’Ã‚Â³sÃƒÆ’Ã‚Â¡got */
}

/* Gyorsparancsok animÃƒÆ’Ã‚Â¡ciÃƒÆ’Ã‚Â³jÃƒÆ’Ã‚Â¡nak javÃƒÆ’Ã‚Â­tÃƒÆ’Ã‚Â¡sa */
.commands-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), opacity var(--transition-normal);
    opacity: 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    display: flex; /* Mindig flex legyen, ne csak .show ÃƒÆ’Ã‚Â¡llapotban */
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    pointer-events: none; /* Elrejtett ÃƒÆ’Ã‚Â¡llapotban ne lehessen kattintani */
    padding: 0 15px; /* Fix padding a magassÃƒÆ’Ã‚Â¡g kivÃƒÆ’Ã‚Â©telÃƒÆ’Ã‚Â©vel */
    align-content: flex-start; /* FelÃƒÆ’Ã‚Â¼lre igazÃƒÆ’Ã‚Â­tÃƒÆ’Ã‚Â¡s */
}

.commands-list.show {
    max-height: 500px;
    opacity: 1;
    padding: 15px;
    pointer-events: auto; /* MegjelenÃƒÆ’Ã‚Â­tett ÃƒÆ’Ã‚Â¡llapotban kattinthatÃƒÆ’Ã‚Â³ */
}

/* Parancs gombok fix mÃƒÆ’Ã‚Â©retezÃƒÆ’Ã‚Â©se */
.command {
    flex: 0 0 auto; /* Ne nyÃƒÆ’Ã‚Âºljon, fix mÃƒÆ’Ã‚Â©ret */
    white-space: nowrap;
}

.command {
    background: var(--primary-dark);
    border: none;
    color: var(--text-white);
    padding: 10px 15px;
    text-align: center;
    font-size: 13.5px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    flex: 0 1 auto;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.command:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.command i {
    margin-right: 8px;
    font-size: 14px;
    transition: transform var(--transition-fast);
}

.command:hover i {
    transform: scale(1.1);
}

.chat-product-item {
    margin-bottom: 10px;
    padding: 8px 12px;
    color: #424242;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.chat-product-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.chat-product-link {
    color: #b31217;
    font-weight: 700;
    text-decoration: none;
}

.chat-product-link:hover {
    text-decoration: underline;
}

.bot-message-content {
    line-height: 1.5;
}

.message.bot .chat-products {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 14px;
    color: #1f2937;
}

.chat-products-header {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.chat-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-product-card {
    display: flex;
    gap: 12px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    color: inherit;
}

.chat-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.chat-product-image {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.chat-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.chat-product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(17, 24, 39, 0.35);
    font-size: 20px;
}

.chat-product-info {
    flex: 1;
    min-width: 0;
    padding: 12px 12px 12px 0;
}

.chat-product-name {
    font-weight: 800;
    font-size: 14px;
    line-height: 1.25;
    color: #111827;
}

.chat-product-desc {
    margin-top: 6px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.35;
}

.chat-product-bottom {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.chat-product-price {
    font-weight: 900;
    color: var(--primary-color);
    white-space: nowrap;
}

.chat-product-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(179, 18, 23, 0.25);
    flex: 0 0 auto;
}

.chat-products-footnote {
    margin-top: 12px;
    font-size: 12px;
    color: rgba(31, 41, 55, 0.75);
}

@media (max-width: 480px) {
    .chat-product-card {
        flex-direction: column;
        gap: 0;
    }

    .chat-product-image {
        width: 100%;
        height: 160px;
        flex: 0 0 auto;
    }

    .chat-product-info {
        padding: 12px;
    }
}

/* TermÃƒÆ’Ã‚Â©k megjelenÃƒÆ’Ã‚Â­tÃƒÆ’Ã‚Â©s stÃƒÆ’Ã‚Â­lusok - JelentÃƒâ€¦Ã¢â‚¬Ëœsen tovÃƒÆ’Ã‚Â¡bbfejlesztve */
.product-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    overflow: hidden;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-yellow), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

.product-card h3 {
    color: var(--text-dark);
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

.product-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.product-image {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    background: white;
    padding: 10px;
    transition: transform var(--transition-normal);
}

.product-image:hover {
    transform: scale(1.05);
}

.product-details {
    flex: 1;
}

.product-description {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    font-weight: 700;
    color: var(--accent-red);
    font-size: 24px;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.product-price::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-red);
    opacity: 0.3;
    border-radius: 2px;
}

.product-link {
    display: inline-block;
    background: linear-gradient(135deg, #e65100 0%, #fd9503 100%);
    color: white;
    padding: 12px 20px;
    margin-left: 10px;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.product-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #8f0f13 0%, var(--accent-blue) 100%);
}

.similar-products {
    margin-top: 25px;
}

.similar-products h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-family: 'Outfit', sans-serif;
}

.similar-products h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.similar-products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}



.similar-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, 0.1);
}

.similar-product-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: var(--border-radius-sm);
}

.similar-product-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-dark);
}

.similar-product-price {
    font-weight: 700;
    color: var(--accent-red);
    margin: 0 0 12px 0;
    font-size: 18px;
}



.similar-product-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-blue);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.similar-product-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Deletion confirmation styles */
.deletion-confirmation {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}

.deletion-confirmation p {
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.deletion-confirmation select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    margin-bottom: 15px;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.deletion-confirmation select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .half, .third, .two-thirds {
        width: 100%;
    }
    
    .chat-container {
        height: 100%;
        border-radius: 0;
    }
    
    header .chatbot-user {
        font-size: 18px;
    }
    
    .message {
        max-width: 85%;
        font-size: 14px;
        padding: 14px 16px;
    }
    
    .product-content {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto 15px;
    }
    
    .similar-product-card {
        flex: 1 1 100%;
    }
    
    .bottom-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .attachment-form {
        width: 100%;
    }
    
    .attachment-button {
        width: 100%;
        justify-content: center;
    }
    
    .toggle-wrapper {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 15px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    header {
        padding: 14px 15px;
    }
    
    header img {
        height: 35px;
    }
    
    main {
        padding: 5px;
    }
    
    .message {
        max-width: 90%;
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .commands-list.show {
        padding: 10px;
    }
    
    .command {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    footer {
        padding: 5px;
    }
    
    .input-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    footer form#message-form {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


/* AnimÃƒÂ¡ciÃƒÂ³k ÃƒÂ©s alapstÃƒÂ­lusok */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #e65100 }
}

.chat-bubble {
  position: relative;
  background: #fff8e1;
  border-radius: 12px;
  padding: 15px 20px;
  margin: 15px 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  max-width: 90%;
  border-left: 4px solid #e65100;
  color: #333;
  line-height: 1.5;
}

.chat-bubble::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -12px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent #e65100 transparent transparent;
}

.typing-effect {
  overflow: hidden;
  white-space: pre-wrap;
  animation: typing 2s steps(40, end);
  word-wrap: break-word;
}

.order-info-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  margin: 20px 0;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out;
}

.order-info-header {
  background: linear-gradient(135deg, #e65100, #ff7043);
  color: white;
  padding: 15px 20px;
  border-radius: 10px 10px 0 0;
}

.order-info-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.order-info-content {
  padding: 20px;
}

.order-info-section {
  margin-bottom: 20px;
  color: black;
}

.order-info-section h4 {
  color: #e65100;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 8px;
  margin-top: 0;
}

.info-row {
  display: flex;
  margin-bottom: 10px;
}

.info-label {
  flex: 0 0 150px;
  font-weight: 500;
  color: #555;
}

.info-value {
  flex: 1;
  color: #333;
}

.gls-point-info {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #2196f3;
  border-radius: 6px;
  padding: 15px;
  color: brown;
  margin-top: 15px;
}

.map-link {
  display: inline-block;
  background: #e65100;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.3s;
}

.map-link:hover {
  background: #d84315;
}

.summary-message {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  padding: 15px;
  margin: 20px 0;
  border-radius: 6px;
  color: #333;
}


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

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #e65100 }
}

.chat-bubble {
  position: relative;
  background: #fff8e1;
  border-radius: 12px;
  padding: 15px 20px;
  margin: 15px 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  max-width: 90%;
  border-left: 4px solid #e65100;
  color: #333;
  line-height: 1.5;
  animation: fadeIn 0.6s ease-out;
}

.typing-effect {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #e65100;
  animation: 
    typing 2s steps(40, end),
    blink-caret .75s step-end infinite;
}

.order-info-box {
  animation: fadeIn 0.6s ease-out 0.5s both;
}


/* AnimÃ¡ciÃ³k Ã©s alapstÃ­lusok */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #e65100 }
}

.chat-bubble {
  position: relative;
  background: #fff8e1;
  border-radius: 12px;
  padding: 15px 20px;
  margin: 15px 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  max-width: 90%;
  border-left: 4px solid #e65100;
  color: #333;
  line-height: 1.5;
}

.chat-bubble::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -12px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent #e65100 transparent transparent;
}

.typing-effect {
  overflow: hidden;
  white-space: pre-wrap;
  animation: typing 2s steps(40, end);
  word-wrap: break-word;
}

.order-info-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  margin: 20px 0;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out;
}

.order-info-header {
  background: linear-gradient(135deg, #e65100, #ff7043);
  color: white;
  padding: 15px 20px;
  border-radius: 10px 10px 0 0;
}

.order-info-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.order-info-content {
  padding: 20px;
}

.order-info-section {
  margin-bottom: 20px;
  color: black;
}

.order-info-section h4 {
  color: #e65100;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 8px;
  margin-top: 0;
}

.info-row {
  display: flex;
  margin-bottom: 10px;
}

.info-label {
  flex: 0 0 150px;
  font-weight: 500;
  color: #555;
}

.info-value {
  flex: 1;
  color: #333;
}

.gls-point-info {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #2196f3;
  border-radius: 6px;
  padding: 15px;
  color: brown;
  margin-top: 15px;
}

.map-link {
  display: inline-block;
  background: #e65100;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.3s;
}

.map-link:hover {
  background: #d84315;
}

.summary-message {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  padding: 15px;
  margin: 20px 0;
  border-radius: 6px;
  color: #333;
}


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

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #e65100 }
}

.chat-bubble {
  position: relative;
  background: #fff8e1;
  border-radius: 12px;
  padding: 15px 20px;
  margin: 15px 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  max-width: 90%;
  border-left: 4px solid #e65100;
  color: #333;
  line-height: 1.5;
  animation: fadeIn 0.6s ease-out;
}

.typing-effect {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #e65100;
  animation: 
    typing 2s steps(40, end),
    blink-caret .75s step-end infinite;
}

.order-info-box {
  animation: fadeIn 0.6s ease-out 0.5s both;
}


/* SzÃ¡llÃ­tÃ¡si mÃ³d Ã©s GLS csomagpont stÃ­lusok */
#shipping-method-container,
#gls-point-container {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#shipping-method-container label,
#gls-point-container label {
  display: block;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  font-size: 16px;
}

#shipping_method,
#gls_point {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  font-size: 14px;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#shipping_method:focus,
#gls_point:focus {
  outline: none;
  border-color: var(--primary-color, #e65100);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.1);
}

.help-text {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  padding-left: 2px;
}

#refresh-gls-points {
  margin-top: 12px;
  background: linear-gradient(to bottom, #f5f5f5, #e8e8e8);
  border: 1px solid #ddd;
  color: #444;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#refresh-gls-points:hover {
  background: linear-gradient(to bottom, #f8f8f8, #e0e0e0);
  border-color: #ccc;
}

#refresh-gls-points:active {
  background: linear-gradient(to bottom, #e0e0e0, #e8e8e8);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

#refresh-gls-points i {
  margin-right: 6px;
  font-size: 12px;
}

/* AnimÃ¡ciÃ³k a mezÅ‘k megjelenÃ©sÃ©hez/eltÅ±nÃ©sÃ©hez */
#gls-point-container {
  opacity: 1;
  max-height: 300px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

#gls-point-container[style*="display: none"] {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-bottom: none;
}

/* Ã‰rtesÃ­tÃ©s dobozok */
.notification {
  padding: 12px 15px;
  margin: 12px 0;
  border-radius: 8px;
  position: relative;
  animation: fadeIn 0.3s ease-out;
  background-color: #f1f8e9;
  border-left: 4px solid #689f38;
  color: #33691e;
}

.notification.error {
  background-color: #fdecea;
  border-left-color: #e53935;
  color: #c62828;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ReszponzÃ­v igazÃ­tÃ¡sok */
@media (max-width: 768px) {
  #shipping_method,
  #gls_point {
    padding: 10px 12px;
  }
  
  .help-text {
    font-size: 12px;
  }
}


/* InputmezÅ‘ kiemelÃ©si animÃ¡ciÃ³ */
@keyframes highlightInput {
    0% { box-shadow: 0 0 0 2px rgba(255, 152, 0, 0); }
    50% { box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.8); }
    100% { box-shadow: 0 0 0 2px rgba(255, 152, 0, 0); }
}

.highlight-input {
    animation: highlightInput 0.3s ease-in-out;
}

/* VisszajelzÅ‘ Ã¼zenet stÃ­lusa */
.suggestion-feedback {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.suggestion-feedback.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}


/* PanaszkezelÅ‘ CSS StÃ­lusok a Chat IntegrÃ¡ciÃ³hoz */

/* Panasz Å±rlap Ã¡ltalÃ¡nos stÃ­lusok */
.complaint-form-container {
    background-color: rgba(255, 244, 243, 0.6);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #e53935;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.complaint-form-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #e53935;
    font-weight: 600;
}

.complaint-form-header i {
    margin-right: 10px;
    font-size: 1.2em;
}

.complaint-form-info {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
}

.complaint-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* Gombok */
.complaint-btn {
    padding: 10px 15px;
    color: white;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    text-decoration: none;
	}


/* VÃ­zszintesen csÃºsztathatÃ³ gombok stÃ­lusai */
.quick-commands {
    position: relative;
    background-color: var(--bg-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Gyorsparancsok gomb */
.commands-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.commands-toggle i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.commands-toggle.active i {
    transform: rotate(180deg);
}

/* GÃ¶rgethetÅ‘ kontÃ©ner */
.commands-scrollable-container {
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.commands-toggle.active + .commands-scrollable-container {
    max-height: 65px; /* ÃllÃ­tsd a parancs gombok magassÃ¡gÃ¡hoz */
}

/* Parancsok listÃ¡ja - vÃ­zszintesen gÃ¶rgethetÅ‘ */
.commands-list {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS gÃ¶rgetÃ©s javÃ­tÃ¡sa */
    scrollbar-width: none; /* Firefox gÃ¶rgetÅ‘ elrejtÃ©se */
    -ms-overflow-style: none; /* IE Ã©s Edge gÃ¶rgetÅ‘ elrejtÃ©se */
    /* ÃrnyÃ©k a jobb oldalon jelzi, hogy van mÃ©g tartalom */
    background: linear-gradient(90deg, 
                rgba(255,255,255,1) 0%, 
                rgba(255,255,255,1) 95%, 
                rgba(255,255,255,0) 100%);
    flex-wrap: nowrap;
    justify-content: flex-start;
}

/* Webkit alapÃº bÃ¶ngÃ©szÅ‘kben elrejtjÃ¼k a gÃ¶rgetÅ‘sÃ¡vot */
.commands-list::-webkit-scrollbar {
    display: none;
}

/* A parancs gombok */
.command {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    background: var(--primary-dark);
    color: var(--text-white);
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.command:last-child {
    margin-right: 0;
}

.command i {
    margin-right: 8px;
    font-size: 14px;
}

.command:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* KÃ¼lÃ¶nbÃ¶zÅ‘ szÃ­nÅ± ikonok az egyes parancsokhoz */
#delete-order-btn i { color: rgba(255, 255, 255, 0.92); }
.command:nth-child(2) i { color: #b31217; } /* SzÃ¡mla letÃ¶ltÃ©s */
.command:nth-child(3) i { color: #34a853; } /* RendelÃ©sek listÃ¡zÃ¡sa */
#password-reset-btn i { color: rgba(255, 255, 255, 0.92); }
#order-modification-btn i { color: #4d5b73; }
.command:nth-child(6) i { color: #fbbc05; } /* HÃ­rlevÃ©l */
.command:nth-child(7) i { color: #2196f3; } /* Chat */

/* Scroll indikÃ¡torok - ezek segÃ­tenek jelezni, hogy van mÃ©g tartalom */
.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-indicator.left {
    left: 5px;
}

.scroll-indicator.right {
    right: 5px;
}

.scroll-indicator i {
    color: var(--primary-color);
    font-size: 14px;
}

/* Az indikÃ¡torok csak akkor lÃ¡thatÃ³ak, amikor lehet gÃ¶rgetni */
.commands-scrollable-container:hover .scroll-indicator.visible {
    opacity: 1;
}




/* Gyorsparancsok konténer módosítása látható görgetéshez */
.quick-commands {
    position: relative;
    background-color: var(--bg-white, #fff);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Parancsok konténere látható görgetősávval */
.commands-scrollable-container {
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.commands-toggle.active + .commands-scrollable-container {
    max-height: 80px; /* Nagyobb magasság a scrollbar számára */
    padding-bottom: 10px; /* Hely a görgetősávnak */
}

/* Görgetősáv láthatóvá tétele és testreszabása */
.commands-list {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 15px;
    padding-bottom: 20px; /* Extra hely a scrollbarnak */
    margin-bottom: 5px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Görgetősáv megjelenítése és testreszabása */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
    
    /* Gradiens a jobb oldalon, jelezve, hogy van még tartalom */
    background: linear-gradient(90deg, 
                transparent 0%, 
                transparent 98%, 
                rgba(255, 109, 0, 0.1) 100%);
}

/* WebKit alapú böngészők scrollbar testreszabása (Chrome, Safari, Opera) */
.commands-list::-webkit-scrollbar {
    height: 8px; /* Vízszintes scrollbar magassága */
    width: auto;
    display: block; /* Mindig látható */
}

.commands-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.commands-list::-webkit-scrollbar-thumb {
    background: var(--primary-color, #b31217);
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}

.commands-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark, #e65100);
}

/* Animáció a scrollbarhoz, hogy felhívja a figyelmet */
@keyframes scrollbarPulse {
    0% { background: var(--primary-color, #b31217); }
    50% { background: var(--primary-light, #ff9e40); }
    100% { background: var(--primary-color, #b31217); }
}

.commands-list::-webkit-scrollbar-thumb {
    animation: scrollbarPulse 2s infinite;
}



@keyframes arrowBounce {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-50%) translateX(5px); }
}

/* A nyíl elrejtése, ha nincs több tartalom jobbra */
.commands-list.at-end::after {
    display: none;
}

/* Parancs gombok stílusának megtartása */
.command {
    flex: 0 0 auto;
    margin-right: 12px;
    position: relative;
    transition: transform 0.2s;
}

.command:last-child {
    margin-right: 30px; /* Extra hely a jobb oldali nyílnak */
}

.command:hover {
    transform: translateY(-2px);
}

/* Asztali verziónál még egyértelműbb jelzés */
@media (min-width: 768px) {
    .commands-toggle::after {
        content: "Görgess oldalra több gombért →";
        display: inline-block;
        font-size: 12px;
        margin-left: 10px;
        opacity: 0.8;
        font-weight: normal;
    }
    
    .commands-list {
        padding-bottom: 15px; /* Még több hely a görgetősávnak */
    }
    
    .commands-list::-webkit-scrollbar {
        height: 10px; /* Nagyobb görgetősáv asztali verzióban */
    }
    
    /* Asztali görgetési segéd animáció csak betöltéskor */
    .commands-toggle.active + .commands-scrollable-container .commands-list {
        animation: scrollHint 1.5s ease-out;
    }
    
    @keyframes scrollHint {
        0% { scroll-behavior: auto; scrollbar-width: none; }
        10% { scrollbar-width: thin; }
        20% { scrollLeft: 50px; }
        40% { scrollLeft: 0; }
        100% { scroll-behavior: smooth; }
    }
}

/* Mobilnézet finomhangolása */
@media (max-width: 767px) {
    .commands-list::-webkit-scrollbar {
        height: 6px; /* Kisebb görgetősáv mobilon */
    }
    
    .commands-list::after {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }
}

