* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

h1 {
    color: #333;
    margin: 0;
}

h2 {
    color: white;
    margin-bottom: 20px;
}

.session-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.timer {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.expired {
    background: #f44336;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.start-btn, .watch-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

.start-btn:hover, .watch-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

.video-grid {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
}

.videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.video-thumbnail {
    background: #f0f0f0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-thumbnail {
    font-size: 50px;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.video-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.video-info small {
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.watch-video-btn {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s;
}

.watch-video-btn:hover {
    background: #45a049;
}

.watch-video-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .session-info {
        flex-direction: column;
    }
    
    .videos {
        grid-template-columns: 1fr;
    }
}/* New Payment Modal Design Overrides */
.payment-modal {
    background-color: rgba(0,0,0,0.5) !important;
}
.new-modal-design {
    background: #ffffff !important;
    color: #333333 !important;
    padding: 30px 20px !important;
    border-radius: 20px !important;
    width: 90% !important;
    max-width: 400px !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
}
.new-close-btn {
    color: #aaaaaa !important;
    top: 10px !important;
    right: 15px !important;
    font-size: 30px !important;
    font-weight: normal !important;
}
.new-close-btn:hover {
    color: #333333 !important;
}
.new-modal-header {
    text-align: center !important;
    margin-bottom: 20px !important;
}
.new-modal-header h2 {
    color: #333333 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
}
.new-modal-header p {
    color: #666666 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}
.new-modal-divider {
    border: 0 !important;
    border-top: 1px solid #eeeeee !important;
    margin: 0 -20px 25px -20px !important;
}
.new-form-group {
    margin-bottom: 25px !important;
}
.new-form-group label {
    display: block !important;
    text-align: left !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin-bottom: 10px !important;
    font-size: 15px !important;
}
.new-form-group input {
    width: 100% !important;
    padding: 14px 15px !important;
    border: 2px solid #007bff !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    background: #ffffff !important;
    color: #333333 !important;
    outline: none !important;
}
.new-form-group input::placeholder {
    color: #aaaaaa !important;
}
.payment-methods-box {
    background: #f8f9fa !important;
    border-radius: 12px !important;
    padding: 12px 15px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
}
.payment-logos {
    display: flex !important;
    gap: 4px !important;
}
.payment-logo {
    font-size: 10px !important;
    font-weight: bold !important;
    color: white !important;
    padding: 4px 6px !important;
    border-radius: 4px !important;
    display: inline-block !important;
}
.logo-tigo { background: #0033a0 !important; }
.logo-voda { background: #e60000 !important; }
.logo-airtel { background: #ff0000 !important; }
.logo-halo { background: #ff6600 !important; color: white !important; }
.payment-price-text {
    color: #007bff !important;
    font-weight: bold !important;
    font-size: 18px !important;
}
.new-pay-btn {
    background: #20c997 !important;
    color: white !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    width: 100% !important;
    padding: 15px !important;
    font-size: 18px !important;
    border: none !important;
    cursor: pointer !important;
}

/* Floating LIPIA Button */
.floating-lipia-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #20c997, #0ca678);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.4);
    animation: pulse-green 2s infinite;
    transition: all 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-lipia-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(32, 201, 151, 0.6);
    animation: none;
}
