/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    opacity: 0;
    animation: fadeIn 1s forwards;
    background-color: #f8f9fa;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Shipping Banner */
.shipping-banner {
    background-color: #3498db;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header Container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1001;
    background: white;
}

/* User Icon */
.user-icon-container {
    position: fixed;
    top: 50px;
    right: 20px;
    z-index: 1002;
}

.user-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-icon:hover {
    opacity: 0.8;
}

/* Auth Popup */
.auth-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.auth-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close-auth {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.auth-content h2 {
    margin-top: 0;
    text-align: center;
}

.auth-content input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.auth-content button {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.auth-switch {
    text-align: center;
    margin-top: 15px;
}

/* Hamburger Menu */
.menu-container {
    position: relative;
}

.hamburger {
    cursor: pointer;
    padding: 15px;
    display: block;
    position: fixed;
    top: 50px;
    left: 10px;
    z-index: 1001;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

body.menu-open .hamburger {
    top: 12px;
}

body.menu-open .hamburger .bar {
    background-color: white;
}

.navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100vh;
    background-color: #343a40;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding-top: 60px;
    opacity: 0;
    transition: all 0.3s ease;
}

body.menu-open .navbar {
    left: 0;
    opacity: 1;
}

.menu-close {
    position: absolute;
    top: 12px;
    left: 10px;
    padding: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    display: none;
}

.menu-close .bar {
    background-color: white;
}

body.menu-open .menu-close {
    display: block;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar li {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}

.navbar li:hover {
    background-color: rgba(255,255,255,0.1);
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    display: block;
}

.navbar a:hover {
    color: #3498db;
}

.navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

body.menu-open .navbar-overlay {
    display: block;
    opacity: 1;
}

/* Logo Container */
.logo-container {
    background-color: white;
    padding: 80px 0 50px;
    text-align: center;
    margin-top: 0;
}

.logo {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.welcome-text h1 {
    font-size: 36px;
    color: #343a40;
    margin-bottom: 15px;
}

.welcome-text p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Cover GIF */
.cover-gif {
    position: relative;
    width: 100%;
    height: auto;
    background-color: white;
    text-align: center;
}

.cover-gif img {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: cover;
}

/* Bag Promo Section */
.bag-promo {
    position: relative;
    width: 100%;
    margin: 96px 0;
    text-align: center;
    background-color: white;
}

.bag-promo-image {
    width: 100%;
    max-width: 1356px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.shop-now-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.shop-now-btn:hover {
    background: #e55b5b;
    transform: translateX(-50%) translateY(-2px);
}

/* Footer Styles */
footer {
    background-color: #343a40;
    color: white;
    padding: 50px 20px 20px;
    margin-top: 50px;
}

.footer-main-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 18px;
    letter-spacing: 1px;
}

.section-divider {
    border: none;
    height: 1px;
    background-color: rgba(255,255,255,0.3);
    margin: 0 0 20px 0;
}

.short-divider {
    width: 40%;
    margin-right: auto;
}

.long-divider {
    width: 80%;
    margin-left: 0;
}

.horizontal-divider {
    border: none;
    height: 1px;
    background-color: rgba(255,255,255,0.3);
    margin: 30px 0;
    width: 100%;
}

.explore-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.explore-section li {
    margin-bottom: 12px;
}

.explore-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.explore-section a:hover {
    color: #ff6b6b;
}

.mailing-list {
    display: flex;
    margin-top: 10px;
    gap: 10px;
}

.mailing-list input {
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    width: 70%;
    font-size: 14px;
}

.mailing-list button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.mailing-list button:hover {
    background-color: #e55b5b;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-media {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.instagram-icon {
    display: inline-block;
    transition: transform 0.2s ease;
}

.instagram-icon:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.instagram-icon img {
    filter: brightness(0) invert(1);
    height: 24px;
    width: 24px;
}

.copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* Discount Button */
.discount-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s;
}

.discount-button:hover {
    background: #e55b5b;
    transform: translateY(-2px);
}

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.popup-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    animation: rotate 4s linear infinite;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.popup-title {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.popup-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
}

.popup-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.popup-button {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.popup-button:hover {
    background: #218838;
}

.terms-text {
    font-size: 12px;
    margin-top: 15px;
    color: #666;
    text-align: left;
}

.terms-link {
    color: red;
    text-decoration: underline;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .shipping-banner {
        padding: 10px 0;
        font-size: 12px;
    }
    
    .hamburger {
        top: 45px;
        padding: 12px;
    }
    
    body.menu-open .hamburger {
        top: 12px;
    }
    
    .logo-container {
        padding: 60px 0 40px;
    }
    
    .welcome-text h1 {
        font-size: 28px;
    }
    
    .welcome-text p {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .footer-main-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .mailing-list {
        flex-direction: column;
    }
    
    .mailing-list input,
    .mailing-list button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hamburger {
        top: 42px;
    }
    
    body.menu-open .hamburger {
        top: 10px;
    }
    
    .navbar {
        width: 85%;
    }
    
    .discount-button {
        padding: 10px 15px;
        font-size: 14px;
    }
}
/* ====================== */
/* VERIFICATION STYLES */
/* ====================== */

/* Verification Container */
.verification-container {
    max-width: 500px;
    margin: 80px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

/* Verification Section (in signup page) */
.verification-section {
    display: none;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    animation: fadeIn 0.5s ease-out;
}

.verification-section h3 {
    color: #2c3e50;
    margin-top: 0;
}

.verification-code-input {
    width: 100%;
    padding: 12px 15px;
    margin: 15px 0;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 5px;
}

.verification-code-input:focus {
    border-color: #3498db;
    outline: none;
}

.verification-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.verification-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.verification-status {
    margin: 15px 0;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.verification-status.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.verification-status.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.resend-link {
    color: #3498db;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
}

.resend-link:hover {
    color: #2980b9;
}

/* Verification Code Boxes (Alternative UI) */
.code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.code-input {
    width: 45px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    border: 2px solid #ddd;
    border-radius: 6px;
}

.code-input:focus {
    border-color: #3498db;
    outline: none;
}

/* Countdown Timer */
.countdown {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 10px;
}

/* ====================== */
/* ADMIN LOGS STYLES */
/* ====================== */
.logs-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.log-entry {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-family: monospace;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-timestamp {
    color: #7f8c8d;
    font-size: 12px;
    margin-right: 15px;
}

.log-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
}

.log-type.signup {
    background: #d4edda;
    color: #155724;
}

.log-type.verification {
    background: #cce5ff;
    color: #004085;
}

.log-type.error {
    background: #f8d7da;
    color: #721c24;
}

/* ====================== */
/* RESPONSIVE ADJUSTMENTS */
/* ====================== */
@media (max-width: 768px) {
    .verification-container {
        margin: 40px auto;
        padding: 20px;
    }
    
    .code-input {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .verification-container {
        margin: 20px auto;
        padding: 15px;
    }
    
    .code-inputs {
        gap: 5px;
    }
    
    .code-input {
        width: 35px;
        height: 45px;
        font-size: 18px;
    }
}