/* Alkoss bg color: 1F2937, WS dark blue: 1C1258, Ws ligh blue: 27AAE1, purple: 8B5CF6 */
body {
    background-color: #1C1258; 
}
.bg-primary-color {
    background-color: #27AAE1;
}

.text-primary-color  {
    color: #27AAE1; 
}
.hover:hover {
    background-color: #1C1258; 
}
.texthover:hover {
    color: #1C1258; 
}
.show-code-btn {
    display: block;
    width: 100%;
    text-align: center;
    
    font-size: 1rem;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    cursor: pointer;
}
.show-code-btn:hover {
    background-color: #1C1258;
}
.inactive-btn {
    background-color: #b0b0b0;
    cursor: not-allowed;
}
.subtle-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #f5f5f5;
    color: #555;
    font-size: 0.9rem;
    font-weight: normal;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.subtle-btn:hover {
    background-color: #e0e0e0;
}
/* Vissza nyíl stílus */
.back-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #4A5568;
    font-size: 1.25rem;
}
.small-btn {
    display: block;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 1rem 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: -11px;
}
/* Üzenet stílus */
.success-message {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(144, 238, 144, 0.9);
    color: #006400;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-weight: bold;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.error-message {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 99, 71, 0.9);
    color: #8B0000;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-weight: bold;
    opacity: 1;
    transition: opacity 1s ease-out;
}
.back-button:hover {
    color: #2D3748;
}
.clear-icon {
    display: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: gray;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: gray;
    font-size: 1.25rem;
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#overlay.show {
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
    visibility: visible;
}

#eventDetails {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: calc(100% - 100px);
    background-color: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
#eventDetails.show {
    transform: translateY(0);
}
/* Swipe-felület stílusa */
#couponDetails {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: calc(100% - 100px);
    background-color: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

/* Megjelenítés animáció */
#couponDetails.show {
    transform: translateY(0);
}
.successMessage {
    display: none;
}
.pushdown {
    margin-top: 165px;
}
.pushdown-nomenu {
    margin-top: 70px;
}
.close-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: gray;
}
.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-text {
    display: none;
    margin-left: 0.5rem;
    font-size: 0.875rem;
}
.navbar {
    bottom: 0;
}
.headerbar {
    top: 0;
}
.profilecontent {
    margin-top:300px;
}
.nomenu {
    top: -10px;
    }
/* Tablet és nagyobb kijelzők */
@media (min-width: 768px) {
    .nav-text {
        display: inline;
    }
    .navbar {
        top: 0;
        height: 60px;
    }
    .headerbar {
    top: 60px;
    }
    .nomenu {
        top: -10px;
        }
    .profilecontent {
        margin-top:360px;
    }
    #couponDetails {
        left: calc(50% - 350px);
        width: 700px;
    }
    #eventDetails { 
        left: calc(50% - 350px);
        width: 700px;
    }
    .hideondesktop {
        display: none;
    }
}

@media (max-width: 768px) {
    #couponDetails {
        left: 0;
    }
    #eventDetails{
        left: 0;
    }
    .hideonmobile {
        display: none;
    }
    .navbar {
        justify-content: space-around;
    }
}


        