@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Fira+Sans:300,400,700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; 
    padding-top: 100px;
}
h1{
  color: #FF5600;
  color: #0B84FE ;
   font-family: "Montserrat";
   font-weight: 700;
}
.h2, .h3, .h4, h2, h3, h4{
  color: #2b2b2b;
  font-family: "Lora";
  font-weight: 700;
}
 a{ 
  font-family: "Open Sans";
  color: #2b2b2b;
  text-decoration: none;
}
li,p{
  color: #1b1b1b ;
  font-family: "Open Sans";
}
.btn{
  font-family: "Open Sans";
  padding: 8px 16px;
}
.wrapper { flex: 1; }
.container { max-width: 1320px; margin: 0 auto; padding: 20px; }
.header { 
    border: none;
    color: #2a2a2a;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px 2px rgba(0, 0, 0, 0.25);
    
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}
.navbar-brand-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}
.header a.navbar-brand-title{
    font-size: 20px;
    color: #FF5600;
    font-family: "Montserrat";
    font-weight: 700 ;
    transition: 0.2s all;
}
.header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; gap: 10px;
    padding: 7px 20px;
}
span.show-user-login {
    font-family: "Open Sans";
    font-weight: 600;
    font-size: 14px;
}
.header h1 { font-size: 1.5rem; }
.header a { 
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.header a:hover { text-decoration: underline;  
    color: rgb(11, 132, 254);
    
}
button.navbar-exit{
    font-family: "Open Sans";
    font-weight: 600;
    font-size: 14px;
}
.navbar-menu-wrap{
    display: flex;
    align-items: center;
}
.card { background: white; border-radius: 8px; padding: 25px; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.card h2 { margin-bottom: 20px; color: #2c3e50; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; }
.form-group input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; }
.form-group input:focus { outline: none; border-color: #3498db; }
.btn { display: inline-block; padding: 12px 24px; background: #3498db; color: white; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; text-decoration: none; }
.btn:hover { background: #2980b9; }
.btn-danger { background: #e74c3c; }
.btn-danger:hover { background: #c0392b; }
.alert { padding: 15px; border-radius: 4px; margin-bottom: 20px; }
.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }
.license-key { font-family: monospace; font-size: 1.2rem; background: #ecf0f1; padding: 10px 15px; border-radius: 4px; display: inline-block; }
.status { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; }
.status-active { background: #d4edda; color: #155724; }
.status-pending { background: #fff3cd; color: #856404; }
.status-paid { background: #d4edda; color: #155724; }
.status-suspended { background: #f8d7da; color: #721c24; }
.status-revoked { background: #f8d7da; color: #721c24; }
.qr-code { text-align: center; margin: 20px 0; }
.qr-code img { max-width: 200px; }
.links { margin-top: 15px; }
.links a { color: #3498db; margin-right: 15px; }

/* Footer */
.footer { padding: 30px 0; }
.footer .container { max-width: 1320px; }
.footer-content { display: flex; justify-content: space-around; flex-wrap: wrap; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 60px; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 8px; font-size: 14px;}
.footer-section a { text-decoration: none; font-size: 14px;}
.footer-section a:hover { color: rgb(11, 132, 254); }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid #dddddd;; text-align: center; font-size: 0.9rem; }

@media (max-width: 480px) {
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 10px;}
    .login-wrap{
        position: absolute;
        bottom: 0;
        right: 20px;
    }
}

/* Carousel */
.carousel-container {
    position: relative;
    padding: 0 40px;
}
.carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel-item {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}
.carousel-image img {
    width: 340px;
    height: 170px;
    object-fit: cover;
    display: block;
}
.carousel-info {
    padding: 16px;
}
.carousel-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.carousel-price {
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 10px;
}
.carousel-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.carousel-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.85rem;
}
.carousel-link:hover {
    text-decoration: underline;
}
.carousel-buy {
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
}
.carousel-buy:hover {
    background: #219a52;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover {
    background: #f0f0f0;
}
.carousel-btn-left {
    left: 0;
}
.carousel-btn-right {
    right: 0;
}
/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 0;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.2s;
}
.carousel-dot:hover {
    background: #bbb;
}
.carousel-dot.active {
    background: #3498db;
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0;
    }
    .carousel-btn {
        display: none;
    }
    .carousel-item {
        flex: 0 0 280px;
    }
    .carousel-image img {
        width: 280px;
        height: 140px;
    }
}