* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 0;
    background: var(--gradient);
    border-radius: 15px;
    color: white;
    box-shadow: var(--shadow);
    position: relative;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

header h1 i {
    margin-right: 10px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.subtitle:hover {
    opacity: 1;
}

.admin-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.controls {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
    max-width: 300px;
}

.control-group label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.control-group label i {
    margin-right: 5px;
    color: var(--primary-color);
}

.date-input,
.language-select {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.date-input:focus,
.language-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.verse-container {
    margin-bottom: 30px;
}

.verse-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.verse-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.verse-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.hook {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.verse-date {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.verse-content {
    margin-bottom: 30px;
    text-align: center;
}

.bible-verse {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--secondary-color);
    margin: 20px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    position: relative;
    font-style: italic;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.quote-icon:first-of-type {
    top: 10px;
    left: 15px;
}

.quote-icon:last-of-type {
    bottom: 10px;
    right: 15px;
}

.verse-reference {
    display: block;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

.verse-details {
    margin-bottom: 30px;
}

.summary-section,
.action-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.summary-section h3,
.action-section h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.summary-section h3 i,
.action-section h3 i {
    margin-right: 8px;
    color: var(--primary-color);
}

.summary-section p,
.action-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.social-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.social-section h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.social-section h3 i {
    margin-right: 8px;
    color: var(--primary-color);
}

.social-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-btn i {
    font-size: 1.1rem;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.email {
    background: #ea4335;
}

.social-btn.copy {
    background: #6c757d;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.interaction-section {
    border-top: 2px solid var(--border-color);
    padding-top: 30px;
}

.likes-section {
    margin-bottom: 30px;
    text-align: center;
}

.like-btn {
    background: none;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.like-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

.like-btn.liked {
    background: var(--accent-color);
    color: white;
}

.like-btn.liked i {
    color: white;
}

.comments-section h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.comments-section h3 i {
    margin-right: 8px;
    color: var(--primary-color);
}

.comment-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.comment-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.comment-submit {
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-submit:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.comment-text {
    margin-bottom: 5px;
    color: #555;
    line-height: 1.6;
}

.comment-time {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 400px;
    word-wrap: break-word;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.error {
    background: var(--accent-color);
}

.notification.success {
    background: #27ae60;
}

/* Admin notification - appears inside modal */
.admin-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 2000;
    max-width: 350px;
    background: var(--secondary-color) !important;
}

.admin-notification.error {
    background: var(--accent-color) !important;
}

.admin-notification.success {
    background: #27ae60 !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-content.admin-dashboard {
    max-width: 900px;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid var(--border-color);
    background: var(--gradient);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-input textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    justify-content: flex-end;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-icon {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Admin Verses List */
.admin-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-search .form-input {
    flex: 1;
}

.admin-verses-list {
    max-height: 400px;
    overflow-y: auto;
}

.admin-verse-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid var(--primary-color);
}

.admin-verse-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.admin-verse-item-date {
    font-weight: 600;
    color: var(--secondary-color);
}

.admin-verse-item-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit {
    background: var(--primary-color);
    color: white;
}

.btn-edit:hover {
    background: #357abd;
}

.btn-delete {
    background: var(--accent-color);
    color: white;
}

.btn-delete:hover {
    background: #c0392b;
}

.admin-verse-item-details {
    font-size: 0.9rem;
    color: #666;
}

.admin-verse-item-details strong {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .controls {
        flex-direction: column;
    }

    .control-group {
        width: 100%;
    }

    .verse-card {
        padding: 25px;
    }

    .hook {
        font-size: 1.5rem;
    }

    .bible-verse {
        font-size: 1.2rem;
        padding: 20px;
    }

    .social-buttons {
        flex-direction: column;
    }

    .social-btn {
        width: 100%;
    }

    .comment-form {
        flex-direction: column;
    }

    .comment-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    header {
        padding: 20px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .admin-btn {
        position: static;
        margin-top: 15px;
        width: auto;
    }

    .modal-content {
        max-width: 100%;
        margin: 10px;
    }

    .modal-content.admin-dashboard {
        max-width: 100%;
    }

    .admin-header-actions {
        flex-wrap: wrap;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .verse-card {
        padding: 20px;
    }

    .bible-verse {
        font-size: 1.1rem;
        padding: 15px;
    }

    .quote-icon {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verse-card {
    animation: fadeIn 0.5s ease;
}

     .share-section {
         margin-top: 20px;
         text-align: center;
     }

     .share-buttons button {
         margin: 5px;
         padding: 8px 14px;
         border: none;
         background-color: #4A90E2;
         color: white;
         border-radius: 6px;
         cursor: pointer;
         font-size: 14px;
     }

         .share-buttons button i {
             margin-right: 6px;
         }

         .share-buttons button:hover {
             background-color: #357ABD;
         }
.current-date {
    font-size: 16px;
    color: #ffffff;
    margin-top: 5px;
}

/* ---------- Like Button ---------- */
#likeButton {
    padding: 8px 16px;
    background-color: #FF6B6B;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

#likeButton:hover {
    background-color: #FF3B3B;
}

/* ---------- Share as Image Button ---------- */
#shareCard {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

#shareCard:hover {
    background-color: #388E3C;
}

/* ---------- Comment Section ---------- */
/* ---------- Comment Section Container ---------- */
.comment-section {
    margin-top: 20px;
    padding: 12px;
    background-color: #f5f5f5;
    border-radius: 12px;
    max-width: 600px;
}

/* Comment heading */
.comment-section h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}

/* Input field */
.comment-section input {
    padding: 10px 12px;
    width: 70%;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    margin-right: 8px;
}

/* Post button */
.comment-section button {
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    background-color: #1976D2;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.comment-section button:hover {
    background-color: #0D47A1;
}

/* Comments list */
#commentsList p {
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-weight: 500;
    color: #fff;
    transition: transform 0.2s ease;
}

/* Rotating colors for each comment */
#commentsList p:nth-child(3n+1) { background-color: #FF8A65; } /* Coral */
#commentsList p:nth-child(3n+2) { background-color: #4DB6AC; } /* Teal */
#commentsList p:nth-child(3n+3) { background-color: #BA68C8; } /* Purple */

#commentsList p:hover {
    transform: scale(1.03);
}


.quote-icon-left, .quote-icon-right {
    width: 24px;
    height: 24px;
    color: #4A90E2; /* or any color you like */
    vertical-align: middle;
    margin: 0 6px;
}

.quote-icon-left {
    float: left;
}

.quote-icon-right {
    float: right;
}
.icon-lightbulb, .icon-hand {
    width: 20px;
    height: 20px;
    color: #F1C40F; /* yellow for lightbulb */
    vertical-align: middle;
    margin-right: 6px;
}

.icon-action {
    color: #3498DB; /* blue for action */
}

        /* Playlist grid */
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 16px;
        }

        .card {
            background: #fff;
            border-radius: 12px;
            padding: 12px;
            box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
        }

        .thumb {
            width: 100%;
            height: 140px;
            object-fit: cover;
            border-radius: 8px;
        }

        .btn {
            padding: 10px 14px;
            border-radius: 8px;
            border: none;
            background: #2563eb;
            color: #fff;
            cursor: pointer;
            font-weight: 600;
        }

        /* ===== PLAYER UI ===== */
        .player-wrapper {
            background: #0b1220;
            color: #fff;
            border-radius: 12px;
            padding: 12px;
            margin-top: 22px;
        }

        /* Player stage and full-cover iframe override */
        .player-stage {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 aspect container */
            background: #000;
            border-radius: 10px;
            overflow: hidden;
        }

        /* Container where YouTube creates the iframe */
        #player {
            position: absolute;
            inset: 0;
            width: 100% !important;
            height: 100% !important;
        }

            /* Force any iframe inside #player to cover the container */
            #player iframe {
                position: absolute !important;
                top: 50% !important;
                left: 50% !important;
                width: 177.7778vh !important; /* big enough to always cover width */
                height: 100vh !important; /* tall enough to cover height */
                transform: translate(-50%, -50%) !important;
                border: none !important;
                pointer-events: none !important; /* user cannot interact with YouTube UI */
                /* NOTE: object-fit on iframe is not reliable; we use transform/oversize method */
            }

        /* Overlay thumbnail that sits above iframe (so user never interacts with iframe) */
        .player-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: auto; /* overlay accepts pointer so bigPlay works */
        }

        .player-thumb {
            position: absolute;
            inset: 0;
            background-position: center;
            background-size: cover;
            filter: brightness(.6);
            z-index: 4;
        }

        .player-controls {
            z-index: 6;
            position: relative;
            display: flex;
            align-items: center;
            gap: 10px;
            padding-top: 10px;
        }

        /* small safety for fullscreen toggling */
        .player-stage.fullscreen {
            position: fixed !important;
            inset: 0 !important;
            padding-bottom: 0 !important;
            z-index: 9999;
            border-radius: 0 !important;
        }

        .player-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            pointer-events: auto;
        }

        .player-thumb {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            filter: brightness(.6);
        }

        .controls {
            margin-top: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .control-btn {
            background: transparent;
            border: none;
            color: #fff;
            cursor: pointer;
            font-size: 20px;
        }

        .seekbar {
            flex: 1;
            height: 8px;
            background: rgba(255, 255, 255, .2);
            border-radius: 99px;
            cursor: pointer;
            position: relative;
        }

        .seek-progress {
            height: 8px;
            width: 0;
            background: linear-gradient(90deg, #3b82f6, #60a5fa);
            border-radius: 99px;
        }

        .video-meta {
            display: flex;
            gap: 12px;
            margin-top: 14px;
            align-items: center;
        }

            .video-meta img {
                width: 120px;
                height: 70px;
                border-radius: 8px;
                object-fit: cover;
            }

        .fullscreen {
            position: fixed !important;
            inset: 0 !important;
            z-index: 9999;
            padding-bottom: 0 !important;
        }

        /* Modal overlay */
        .modal {
            display: none; /* Hidden by default */
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            background-color: rgba(0,0,0,0.8);
            backdrop-filter: blur(4px);
        }

        /* Modal content */
        .modal-content {
            position: relative;
            margin: auto;
            top: 50px;
            width: 90%;
            /* max-width: 1000px;
            height: 80%;
            background: #0b1220;*/
            border-radius: 12px;
           /* padding: 12px;
            display: flex;*/
            flex-direction: column;
        }

        /* Close button */
        .close {
            color: #0b1220;
            position: absolute;
            /*top: 10px;*/
            right: 20px;
            font-size: 30px;
            font-weight: bold;
            cursor: pointer;
        }

        .search-wrapper {
            position: relative;
            width: 100%;
        }

            .search-wrapper input {
                width: 100%;
                padding: 12px 40px 12px 16px;
                font-size: 16px;
                border: 2px solid #ccc;
                border-radius: 10px;
                outline: none;
            }

                .search-wrapper input:focus {
                    border-color: #4A90E2;
                }

        .clear-btn {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 20px;
            color: #888;
            cursor: pointer;
            display: none; /* hidden by default */
        }

            .clear-btn:hover {
                color: #000;
            }