body {
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
}

.generator-container {
    display: flex;
    gap: 25px;
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
	
}

.tool-wrapper {
    flex: 1;
    margin-right: 0;
}

.input-sticky-wrapper {
    position: sticky;
    top: 15px;
    z-index: 1000;
    width: 100%;
    margin: 0 0 30px 0;
    background: transparent;
}


#textInput {
    width: 100%;
    padding: 20px 80px 20px 30px;
    font-size: 1.15rem;
    border: 2px solid #e0e7ff;
    border-radius: 16px;
    background: #ffffff;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
    margin: 0;
    box-shadow: 
        0 2px 8px rgba(99, 102, 241, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.03);
    color: #1e293b;
    letter-spacing: 0.3px;
}

#textInput:focus {
    outline: none;
    border-color: #6366f1;
    background: #f8fafc;
    box-shadow: 
        0 0 0 4px rgba(99, 102, 241, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

#textInput::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.clear-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    background: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.05),
        0 1px 1px rgba(0, 0, 0, 0.05);
    z-index: 1001;
    border: 1px solid #e0e7ff;
}

.clear-btn:hover {
    opacity: 1;
    background: #f1f5f9;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 2px 2px rgba(0, 0, 0, 0.05);
}

.clear-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.clear-btn::before {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.clear-char {
    left: 65px;
}

.clear-char::before {
    content: "⌫";
    color: #475569;
}

.clear-all {
    left: 20px;
}

.clear-all::before {
    content: "×";
    color: #ef4444;
    font-size: 22px;
}

.tool-wrapper.En .clear-char {
    left: auto;
    right: 65px;
}

.tool-wrapper.En .clear-all {
    left: auto;
    right: 20px;
}

@media (max-width: 768px) {
    .input-sticky-wrapper {
        top: 10px;
        margin-bottom: 25px;
    }

    #textInput {
        padding: 22px 85px 22px 30px;
        font-size: 1.2rem;
        border-radius: 20px;
    }

    .clear-btn {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .clear-btn::before {
        font-size: 20px;
    }

    .clear-char {
        left: 75px;
    }

    .clear-all {
        left: 20px;
    }

    .tool-wrapper.En .clear-char {
        left: auto;
        right: 75px;
    }

    .tool-wrapper.En .clear-all {
        left: auto;
        right: 20px;
    }

    .clear-all::before {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    #textInput {
        padding: 20px 80px 20px 25px;
        font-size: 1.15rem;
    }

    .clear-btn {
        width: 42px;
        height: 42px;
    }

    .clear-char {
        left: 70px;
    }

    .tool-wrapper.En .clear-char {
        left: auto;
        right: 70px;
    }
}

@media (min-width: 1200px) {
    #textInput {
        padding: 22px 85px 22px 35px;
        font-size: 1.2rem;
        border-radius: 18px;
    }

    .clear-btn {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .clear-btn::before {
        font-size: 20px;
    }

    .clear-char {
        left: 75px;
    }

    .clear-all {
        left: 25px;
    }

    .tool-wrapper.En .clear-char {
        left: auto;
        right: 75px;
    }

    .tool-wrapper.En .clear-all {
        left: auto;
        right: 25px;
    }
}
.results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-bottom: 30px;
    padding: 18px; 
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.style-card {
    position: relative;
    width: 48%;
    max-width: 380px;
    min-height: 110px; 
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px; 
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-shadow: 
        0 5px 15px rgba(31, 38, 135, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.style-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s; 
}

.style-name {
    font-size: 14px; 
    font-weight: 700;
    color: #4338ca;
    margin-bottom: 8px;
    width: 100%;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.styled-text {
    font-size: 18px; 
    line-height: 1.4;
    width: 100%;
    padding: 8px 0; 
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.style-card:hover {
    transform: translateY(-5px) scale(1.02); 
    box-shadow: 
        0 10px 25px rgba(31, 38, 135, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.4);
}

.style-card:hover::before {
    opacity: 1;
}

.style-card::after {
    content: 'Copy 📋';
    position: absolute;
    bottom: -20px; 
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px; 
    color: #4338ca;
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 12px; 
    border-radius: 20px;
    opacity: 0;
    transition: all 0.2s ease; 
    font-weight: 600;
}

.style-card:hover::after {
    bottom: 8px; 
    opacity: 1;
}

@media (max-width: 768px) {
    .results-grid {
        gap: 12px;
        padding: 12px;
    }
    
    .style-card {
        width: 100%; 
        min-height: 100px; 
        padding: 14px;
    }
    
    .style-name {
        font-size: 13px;
        margin-bottom: 6px;
        padding-bottom: 4px;
    }
    
    .styled-text {
        font-size: 16px;
        padding: 6px 0;
    }
    
    .style-card::after {
        font-size: 12px;
        padding: 3px 10px;
        bottom: 6px; 
    }
}

.copilot-show-more-btn, .cta-button {
    display: block;
    margin: 25px auto;
    width: fit-content;
    padding: 14px 35px;
    background: rgba(67, 56, 202, 0.7); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px; 
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    box-shadow: 
        0 5px 15px rgba(67, 56, 202, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    position: relative;
    overflow: hidden;
}

.copilot-show-more-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.copilot-show-more-btn:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 25px rgba(67, 56, 202, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    background: rgba(79, 70, 229, 0.8);
}
.cta-button {
	color: white !important;
}
.copilot-show-more-btn:hover::before {
    opacity: 1;
}

.copilot-show-more-btn:active, .cta-button {
    transform: translateY(-1px);
    box-shadow: 
        0 3px 10px rgba(67, 56, 202, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.copilot-show-more-btn span {
    position: relative;
    transition: transform 0.3s;
}

.copilot-show-more-btn:hover span {
    transform: translateX(3px);
}

.instagram-highlights {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 15px;
    border-bottom: 1px solid #efefef;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.instagram-highlights::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .copilot-show-more-btn {
        width: 85%;
        padding: 16px 25px;
        font-size: 17px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(79, 70, 229, 0.85);
        border-radius: 14px;
    }
}
.copilot-show-more-btn::after {
    content: '⇩';
    margin-right: 8px;
    font-size: 18px;
    transition: transform 0.3s;
}

.copilot-show-more-btn:hover::after {
    transform: translateY(3px);
}
        .platform-simulation {
            background: white;
            border-radius: 12px;
            box-shadow: 0 6px 18px rgba(0,0,0,0.08);
            overflow: hidden;
            margin-bottom: 25px;
            border: 1px solid #e6e6e6;
        }

        .platform-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            background: #f8f9fa;
            border-bottom: 1px solid #e6e6e6;
        }

        .platform-logo {
            font-weight: 700;
            font-size: 18px;
            color: #385185;
        }

        .instagram-preview .platform-logo {
            background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .facebook-preview .platform-logo {
            color: #1877F2;
        }

        .platform-icons span {
            margin-left: 12px;
            font-size: 18px;
            cursor: pointer;
        }

        /* Instagram Profile Specific Styles */
        .instagram-profile .profile-header {
            display: flex;
            padding: 15px;
            border-bottom: 1px solid #efefef;
            align-items: center;
        }

        .instagram-profile .profile-pic {
            width: 80px;
            height: 80px;
            background: linear-gradient(45deg, #ff9a9e, #fad0c4);
            border-radius: 50%;
            margin-left: 20px;
            border: 2px solid white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            flex-shrink: 0;
        }

        .instagram-profile .profile-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .instagram-profile .profile-name {
            font-weight: 700;
            font-size: 18px;
            margin-bottom: 5px;
            max-height: 150px;
            overflow-y: auto;
            word-break: break-all;
            white-space: normal;
        }

        .instagram-profile .profile-stats {
            display: flex;
            gap: 25px;
            font-size: 15px;
            color: #65676B;
            margin: 8px 0;
            justify-content: space-around;
            width: 100%;
        }

        .instagram-profile .profile-stats span {
            text-align: center;
            display: flex;
            flex-direction: column;
            font-weight: bold;
            color: #262626;
        }
        .instagram-profile .profile-stats span:last-child {
            font-weight: normal;
            color: #8e8e8e;
        }

        .profile-bio-section {
            padding: 0 15px 15px;
            border-bottom: 1px solid #efefef;
        }

        .profile-bio {
            font-size: 15px;
            line-height: 1.4;
            color: #333;
            max-height: 60px;
            overflow-y: auto;
            word-wrap: break-word;
            overflow-wrap: break-word;
            word-break: break-all;
            white-space: normal;
            margin-bottom: 15px;
        }

        .profile-actions {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .action-btn {
            flex: 1;
            padding: 8px 15px;
            border: 1px solid #dbdbdb;
            border-radius: 8px;
            background-color: #efefef;
            color: #262626;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .action-btn:hover {
            background-color: #e0e0e0;
        }

        .follow-btn {
            background-color: #0095f6;
            color: white;
            border-color: #0095f6;
        }

        .follow-btn:hover {
            background-color: #0085e6;
        }

.instagram-highlights {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 15px;
    border-bottom: 1px solid #efefef;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.instagram-highlights::-webkit-scrollbar {
    display: none;
}

        .highlight-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-right: 20px;
            flex-shrink: 0;
        }

        .highlight-pic {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #dbdbdb;
            border: 2px solid #fff;
            box-shadow: 0 0 0 1px #8e8e8e;
            margin-bottom: 5px;
        }

        .highlight-text {
            font-size: 13px;
            color: #262626;
            font-weight: 500;
            text-align: center;
        }

        .instagram-nav {
            display: flex;
            border-bottom: 1px solid #dbdbdb;
            font-size: 14px;
            font-weight: bold;
            color: #8e8e8e;
        }

        .nav-item {
            flex: 1;
            text-align: center;
            padding: 15px 0;
            cursor: pointer;
            position: relative;
        }

        .nav-item.active {
            color: #262626;
        }

        .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: #262626;
        }

        .instagram-posts-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2px;
            background-color: #efefef;
        }

        .grid-item {
            width: 100%;
            padding-bottom: 100%;
            background-color: #dbdbdb;
            position: relative;
            overflow: hidden;
        }

        .grid-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.1);
            opacity: 0;
            transition: opacity 0.2s;
        }

        .grid-item:hover::before {
            opacity: 1;
        }

        /* Facebook Profile Specific Styles */
        .facebook-profile {
            position: relative;
        }

        .facebook-cover-photo {
            width: 100%;
            height: 180px;
            background-color: #b0c7e2;
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
            overflow: hidden;
        }

        .facebook-profile-header-details {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0 15px 15px;
            border-bottom: 1px solid #e6e6e6;
            margin-top: -70px;
            position: relative;
            z-index: 2;
        }

        .facebook-profile-pic {
            width: 120px;
            height: 120px;
            border: 4px solid white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 15px;
            background: linear-gradient(45deg, #a1c4fd, #c2e9fb);
        }

        .facebook-profile-info {
            text-align: center;
            width: 100%;
        }

        .facebook-profile .profile-name {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 5px;
            color: #050505;
        }

        .facebook-profile-stats {
            display: flex;
            justify-content: center;
            gap: 20px;
            font-size: 14px;
            color: #65676B;
            margin-bottom: 15px;
        }

        .facebook-actions {
            display: flex;
            gap: 10px;
            width: 100%;
            justify-content: center;
            margin-bottom: 15px;
        }

        .facebook-actions .action-btn {
            flex: 1;
            max-width: 150px;
            padding: 10px 15px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .fb-add-story-btn {
            background-color: #1877F2;
            color: white;
            border: none;
        }
        .fb-add-story-btn:hover {
            background-color: #166fe5;
        }

        .fb-edit-profile-btn, .fb-more-btn {
            background-color: #e4e6eb;
            color: #050505;
            border: none;
        }
        .fb-edit-profile-btn:hover, .fb-more-btn:hover {
            background-color: #d8dadf;
        }

        .facebook-bio-section {
            padding: 15px;
            text-align: center;
            border-bottom: 1px solid #efefef;
        }

        .facebook-nav {
            display: flex;
            justify-content: space-around;
            border-bottom: 1px solid #dbdbdb;
            font-size: 15px;
            font-weight: 600;
            color: #65676B;
            padding: 0 15px;
        }

        .facebook-nav .nav-item {
            flex: 1;
            text-align: center;
            padding: 12px 0;
            cursor: pointer;
            position: relative;
        }

        .facebook-nav .nav-item.active {
            color: #1877F2;
        }

        .facebook-nav .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #1877F2;
        }

        /* Facebook Post Specific Styles */
        .facebook-post {
            padding: 15px;
        }

        .facebook-post .post-header {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }

        .facebook-post .author-pic {
            width: 48px;
            height: 48px;
            background: linear-gradient(45deg, #a1c4fd, #c2e9fb);
            border-radius: 50%;
            margin-left: 12px;
        }

        .facebook-post .author-name {
            font-weight: 600;
            font-size: 17px;
            color: #050505;
            word-break: break-all;
            white-space: normal;
        }

        .facebook-post .post-text {
            font-size: 16px;
            line-height: 1.5;
            padding: 10px 0;
            max-height: 150px;
            overflow-y: auto;
            word-wrap: break-word;
            overflow-wrap: break-word;
            word-break: break-all;
            white-space: normal;
        }

        .post-actions-bar {
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            border-top: 1px solid #efefef;
            border-bottom: 1px solid #efefef;
            margin-top: 10px;
        }

        .post-actions-bar .action-icon {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #65676B;
            font-size: 15px;
            cursor: pointer;
            font-weight: 600;
            flex: 1;
            justify-content: center;
            padding: 5px 0;
            border-radius: 6px;
        }

        .post-actions-bar .action-icon:hover {
            background-color: #f0f2f5;
        }

        .post-comment-input {
            display: flex;
            align-items: center;
            padding: 15px 0;
            gap: 10px;
        }

        .post-comment-input .small-pic {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: #dbdbdb;
            flex-shrink: 0;
        }

        .comment-input-field {
            flex: 1;
            padding: 8px 12px;
            border: none;
            background-color: #f0f2f5;
            border-radius: 20px;
            font-size: 15px;
            color: #050505;
            outline: none;
        }

        .comment-input-field::placeholder {
            color: #8e8e8e;
        }

        #popupMessage {
            visibility: hidden;
            min-width: 250px;
            background: #4caf50;
            color: #fff;
            text-align: center;
            border-radius: 8px;
            padding: 16px;
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.5s, visibility 0.5s;
            box-shadow: 0 6px 15px rgba(0,0,0,0.2);
            font-weight: 600;
        }

        #popupMessage.show {
            visibility: visible;
            opacity: 1;
        }

        #mobilePreviewOverlay {
            width: 340px;
            position: sticky;
            top: 20px;
            align-self: flex-start;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #007bff #f0f2f5;
            display: block;
            transition: transform 0.3s ease-out, opacity 0.3s ease-out;
            z-index: 999;
        }

        #mobilePreviewOverlay::-webkit-scrollbar {
            width: 6px;
        }

        #mobilePreviewOverlay::-webkit-scrollbar-thumb {
            background-color: #007bff;
            border-radius: 3px;
        }

        .close-slider {
            display: none;
            position: absolute;
            top: 10px;
            right: 10px;
            background: #ff4757;
            color: white;
            border: none;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            font-weight: bold;
            font-size: 18px;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
            z-index: 1000;
			padding-left: 10px;
			padding-right: 10px;
        }

        @media (max-width: 768px) {
            .generator-container {
                flex-direction: column;
                padding: 15px;
                max-width: 100%;
            }
            
            .tool-wrapper {
                width: 100%;
                padding: 0;
            }
            
            .style-card {
                width: 100%;
                min-height: 100px;
                max-width: 100%;
            }
            
            #textInput {
                font-size: 16px;
                height: 70px;
            }

            #mobilePreviewOverlay {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                top: auto;
                height: 70vh;
                max-height: 80vh;
                background: white;
                z-index: 9999;
                width: 100%;
                border-top-left-radius: 25px;
                border-top-right-radius: 25px;
                box-shadow: 0 -8px 30px rgba(0,0,0,0.2);
                display: flex;
                flex-direction: column;
                transform: translateY(100%);
                opacity: 0;
                transition: transform 0.3s ease-out, opacity 0.3s ease-out;
            }

            #mobilePreviewOverlay.is-active {
                transform: translateY(0);
                opacity: 1;
            }


            .close-slider {
                display: block;
            }


#mobilePreviewOverlay .tab-panel {
    display: none;
    height: 100%;
    overflow-y: auto;
}

#mobilePreviewOverlay #symbolsTabContent.active-tab {
    display: block;
    padding: 15px;
}

#mobilePreviewOverlay #previewsTabContent.active-tab {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    flex-wrap: nowrap;
    padding: 15px 10px;
    -webkit-overflow-scrolling: touch;
}

#mobilePreviewOverlay #previewsTabContent.active-tab .platform-simulation {
    flex: 0 0 95%;
    scroll-snap-align: center;
    margin: 0 5px;
    height: 98%;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: none;
}
}

        .copilot-hidden-box {
            display: none;
        }

        .mobile-preview-tabs {
            display: flex;
            background: #f8f9fa;
            border-bottom: 1px solid #e6e6e6;
            padding: 0 15px;
        }

        .preview-tab {
            flex: 1;
            text-align: center;
            padding: 15px 5px;
            font-size: 16px;
            font-weight: 600;
            color: #65676B;
            border: none;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.3s;
            background: linear-gradient(45deg, #f8f9fa, #e9ecef);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
            border-radius: 5px 5px 0 0;
            margin: 0 2px;
        }

        .preview-tab:hover {
            background: linear-gradient(45deg, #e0e0e0, #d0d0d0);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
        }

        .preview-tab.active {
            color: white;
            background: linear-gradient(45deg, #007bff, #00a8ff);
            box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
        }

        .preview-tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #007bff;
            box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
        }
        .tab-panel {
            display: none;
            padding: 15px;
            overflow-y: auto;
            height: calc(100% - 50px);
        }

        .tab-panel.active-tab {
            display: block;
            flex: 1;
            overflow-y: auto;
        }
        .symbol-categories {
            display: flex;
            overflow-x: auto;
            gap: 10px;
            padding: 10px 0;
            border-bottom: 1px solid #e6e6e6;
            margin-bottom: 10px;
        }

        .symbol-category-btn {
            padding: 8px 16px;
            border: 1px solid #ddd;
            border-radius: 20px;
            background: #fff;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.3s;
        }

        .symbol-category-btn.active {
            background: linear-gradient(45deg, #007bff, #00a8ff);
            color: white;
            border-color: #1877F2;
            box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
        }
        .symbols-display {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }

        .symbol-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px;
            background: #f0f2f5;
            border-radius: 8px;
            border: 1px solid #e4e6e9;
            transition: background 0.2s, transform 0.2s;
            flex-grow: 1;
            max-width: 200px;
        }

        .symbol-item:hover {
            background: #e9ecef;
            transform: scale(1.03);
        }

        .symbol-text {
            font-size: 24px;
            font-weight: bold;
            flex-grow: 1;
            text-align: center;
            cursor: default;
        }

        .add-symbol-btn {
            width: 30px;
            height: 30px;
            background: #007bff;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.2s, box-shadow 0.2s;
        }

        .add-symbol-btn:hover {
            background: #0056b3;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .add-symbol-btn.start-btn {
            margin-right: 5px;
        }

        .add-symbol-btn.end-btn {
            margin-left: 5px;
        }

        .symbol-item:active {
            transform: scale(0.95);
        }
        #previewsTabContent {
            padding: 0;
        }

        #previewsTabContent .platform-simulation {
            margin: 0;
            margin-bottom: 15px;
            box-shadow: none;
        }
.generator-container.En {
    direction: ltr;
}

.tool-wrapper.En .tool-wrapper,
.tool-wrapper.En #textInput,
.tool-wrapper.En .style-card,
.tool-wrapper.En .styled-text {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
}

.tool-wrapper.En .keep-rtl {
    direction: rtl;
    text-align: right;
}
.tool-wrapper.En #textInput {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
}

.tool-wrapper.En input[type="text"] {
    direction: ltr;
    text-align: left;
}


html {
    scroll-padding-top: 5px;  
    overscroll-behavior: none;
}

.preview-button {
    display: none !important;
    justify-content: center !important;
    align-items: center !important;
    position: fixed !important;
    bottom: 20px !important;
    right: 10px !important;
    background: rgba(67, 56, 202, 0.92) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    color: white !important;
    z-index: 1000 !important;
    box-shadow: 
        0 4px 12px rgba(67, 56, 202, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border-radius: 10px !important;
    padding: 10px 18px !important;
    width: auto !important;
    min-width: 110px !important;
    height: auto !important;
    animation: floatUpDown 2s ease-in-out infinite !important;
    gap: 8px !important;
    direction: ltr !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    border: none !important;
    outline: none !important;
    line-height: 1.4 !important;
}

.preview-button:hover {
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 
        0 6px 18px rgba(67, 56, 202, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4) !important;
    background: rgba(79, 70, 229, 0.95) !important;
}

@keyframes floatUpDown {
    0% { transform: translateY(0) !important; }
    50% { transform: translateY(-5px) !important; }
    100% { transform: translateY(0) !important; }
}

@media (max-width: 768px) {
    .preview-button {
        display: flex !important;
        bottom: 15px !important;
        right: 10px !important;
        font-size: 15px !important;
        padding: 11px 17px !important;
        min-width: 105px !important;
    }
}

h2 {
    color: #4338ca;
    margin: 40px 0 20px;
    padding: 10px 0;
    position: relative;
}

h2::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: #818cf8;
    border-radius: 3px;
    margin-top: 10px;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 25px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(67, 56, 202, 0.1);
    position: relative;
}

p::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 1px;
    background: #4338ca;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h1, h2, p, ul {
    animation: fadeIn 0.6s ease forwards;
}

h1 { animation-delay: 0.1s; }
h2 { animation-delay: 0.2s; }
p { animation-delay: 0.3s; }
ul { animation-delay: 0.4s; }


.tool-description {
  position: relative;
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
  padding-bottom: 60px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0));
}

.tool-description.expanded {
  max-height: 1000px;
  mask-image: none;
  -webkit-mask-image: none;
}

.toggle-arrow {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%) rotate(0deg);
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border: 2px solid blue;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: bounce 1s infinite;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.toggle-arrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid blue;
  border-bottom: 2px solid blue;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.tool-description.expanded .toggle-arrow::before {
  transform: rotate(-135deg);
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.copy-button {
    margin: 20px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.test-text {
  font-size: 14px;
  color: #4a90e2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  border: 2px solid #4a90e2;
  padding: 10px; 
  border-radius: 8px;
  background: linear-gradient(90deg, #ffffff, #e3f2fd);
  display: inline-block; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test-text:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.test-text {
  font-size: 14px;
  color: #4a90e2; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  border: 2px solid #4a90e2; 
  padding: 10px;
  border-radius: 8px; 
  background: linear-gradient(90deg, #ffffff, #e3f2fd);
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.test-text:hover {
  transform: scale(1.1); 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}
.show-more-decorations-btn {
    display: block;
    width: 100%;
    margin: 20px 0;
    padding: 10px;
    text-align: center;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
.show-more-decorations-btn:hover {
    background: #005b8f;
}


.wp-block-latest-posts__list { display: grid; grid-template-columns: repeat(8, 1fr); gap: 15px; padding: 20px; margin: 20px auto; list-style: none; background-color: #f4f4f4; border: 2px solid #ddd; border-radius: 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); max-width: 1200px; } .wp-block-latest-posts__list li { background-color: #ffffff; border: 1px solid #ddd; border-radius: 8px; padding: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; } .wp-block-latest-posts__list li:hover { transform: scale(1.05); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); } .wp-block-latest-posts__post-title { display: block; text-decoration: none; color: #333; font-weight: bold; font-size: 12px; word-wrap: break-word; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 1.4; } @media (max-width: 1200px) { .wp-block-latest-posts__list { grid-template-columns: repeat(4, 1fr); } } @media (max-width: 768px) { .wp-block-latest-posts__list { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .wp-block-latest-posts__list { grid-template-columns: 1fr; } .wp-block-latest-posts__post-title { font-size: 10px; } }

.ez-toc-list.ez-toc-list-level-1 { display: flex; flex-wrap: wrap; } .ez-toc-list.ez-toc-list-level-1 .ez-toc-page-1.ez-toc-heading-level-2 { flex: 0 0 50%; box-sizing: border-box; padding: 5px; }

/*pubg*/

/* Base styles */
.profile-card {
	text-align: left;
	direction: ltr;
	background-color: #282828; 
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 100%;
    overflow: hidden;
    color: #E0E0E0; 
}

/* Header Section styles */
.header-bg {
    background-color: #353535; 
    min-height: 250px; 
    padding-top: 1rem; 
    padding-bottom: 1.5rem; 
    position: relative;
}
.top-bar-left {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #A0A0A0;
}
.top-bar-right {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.uid-badge {
    background-color: #3A3A3A;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
}
.icon-copy, .icon-globe, .icon-settings, .icon-arrow-down, .icon-arrow-up, .icon-thumbs-up, .icon-grimace, .icon-crown, .icon-arrow-left {
    color: #A0A0A0;
    cursor: pointer;
}
.icon-crown {
    color: #FCD34D; 
}
.icon-arrow-up {
    color: #4CAF50; 
}
.icon-thumbs-up {
    color: #2196F3; 
}
.icon-grimace {
    color: #F44336;
}

/* Profile Content within Header */
.profile-content-in-header {
    display: flex;
    align-items: flex-start;
    margin-top: 3rem; 
    padding: 0 1.5rem; 
}
.profile-avatar-main {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 3px solid #A08040;
    background-color: #4A4A4A;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: #BBBBBB;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    margin-right: 1rem;
}
.level-badge {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: #007BFF;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 0 0 10px 0;
    font-weight: bold;
    line-height: 1;
}

.player-details-block {
    flex: 1;
}
.player-name-group {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}
.player-name-text {
    font-size: 1.25rem;
    font-weight: bold;
}
.small-stats-group {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #A0A0A0;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.small-stat-badge {
    background-color: #3A3A3A;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
}
.clan-join-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #A0A0A0;
}
#clanstatustext {
    color: #A0A0A0;
}
.join-btn {
    background-color: #404040;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.progress-bars-container {
    padding: 0 1.5rem;
    margin-top: 1rem;
}
.progress-section {
    margin-bottom: 0.75rem;
}
.progress-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #D1D1D1;
}
.progress-bar-track {
    background-color: #4A4A4A;
    border-radius: 9999px;
    height: 6px;
    margin-top: 0.25rem;
}
.progress-bar-fill-blue {
    background-color: #007BFF;
    height: 100%;
    border-radius: 9999px;
}
.progress-bar-fill-red {
    background-color: #FF4B4B;
    height: 100%;
    border-radius: 9999px;
}

.tabs-nav {
    display: flex;
    background-color: #282828;
    color: #D1D1D1;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 1px solid #4A4A4A;
}
.tab-button {
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
    flex-grow: 1;
    text-align: center;
    color: #AAAAAA;
    background-color: transparent;
}
.tab-button.active {
    border-color: #007BFF;
    color: #007BFF;
    background-color: #333333;
    border-radius: 5px 5px 0 0;
}

.stats-grid {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    text-align: center;
}
.stats-grid-secondary {
    padding: 1.5rem;
    padding-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background-color: #4A4A4A;
}


@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .stats-grid-secondary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .profile-avatar-main {
        width: 70px;
        height: 70px;
    }
    .level-badge {
        font-size: 0.6rem;
        padding: 1px 4px;
    }
    .stat-item {
        padding: 10px 5px;
    }
    .stat-value {
        font-size: 1.2rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }
    .stat-item:not(:last-child)::after {
        top: 10%;
        height: 80%;
    }
}

/*freefire*/
.profile-container {
    Direction: ltr;
    background-color: #0c0c0c;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    color: #e0e0e0;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}

.profile-header-right {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 25;
}

.freefire-logo {
    font-family: 'Impact', sans-serif;
    font-size: 1.7rem;
    color: white;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 1px 1px 0px #ffc107;
    letter-spacing: 0.8px;
    position: absolute;
    top: -45px;
    left: 15px;
    z-index: 20;
}

.icon-gear::before {
    content: "\2699";
    font-size: 1.4rem;
    color: #e0e0e0;
    margin-left: 10px;
}
.icon-edit::before {
    content: "\270E";
    font-size: 0.85rem;
    color: #000;
    margin-left: 7px;
}
.icon-calendar::before {
    content: "\1F4C5";
    font-size: 1.05rem;
    color: #000;
}
.icon-globe::before {
    content: "\1F30E";
    font-size: 1.05rem;
    color: #000;
}
.icon-target::before {
    content: "\1F3AF";
    font-size: 1.05rem;
    color: #000;
}
.icon-thumbs-up::before {
    content: "\1F44D";
    font-size: 1.05rem;
    color: #000;
}
.icon-copy::before {
    content: "\1F4CB";
    font-size: 0.85rem;
    color: #000;
    margin-left: 7px;
    cursor: pointer;
}

.top-right-badge {
    width: 25px;
    height: 25px;
    background-color: #7b00d8;
    border-radius: 50%;
    margin-left: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6rem;
    color: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.unified-top-section {
    position: relative;
    background: linear-gradient(to bottom, #2a0050, #1a0030);
    border-radius: 0 0 12px 12px;
    padding-bottom: 20px;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-height: 250px;
}

.yellow-cutout {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to top, #ffc107, #ff9800);
    transform: skewX(25deg);
    transform-origin: bottom left;
    z-index: 2;
    overflow: hidden;
}
#level-badge-yellow {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #000;
    font-size: 0.9rem;
    font-weight: bold;
    transform: skewX(-25deg);
    transform-origin: bottom left;
    white-space: nowrap;
}

.user-info-main {
    position: relative;
    margin-top: 50px;
    background-color: #e0e0e0;
    border-radius: 10px;
    padding: 15px 18px;
    margin-left: 15px;
    margin-right: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .user-info-main {
        max-width: calc(100% - 30px); 
    }
}

.avatar-container {
    width: 85px;
    height: 85px;
    background-color: #6a0dad;
    border-radius: 10px;
    border: 3px solid #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    overflow: hidden;
}
.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-text {
    flex-grow: 1;
    color: #222;
}
#freefirename {
    display: flex;
    align-items: center;
    font-size: 1rem; 
    font-weight: bold;
    margin-bottom: 3px;
}
#fflanguage {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 6px;
}
.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #444;
}

.uid-section-bottom {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    align-items: center;
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 15;
}

.ranked-tabs-container {
    margin-top: 25px;
    padding: 0 15px;
    position: relative;
}
.ranked-tabs {
    display: flex;
    justify-content: space-around;
    gap: 12px;
}
.ranked-tab {
    flex: 1;
    text-align: center;
    background-color: transparent;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: bold;
    color: #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
    border: 1px solid #444;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.ranked-tab:not(.active) {
    background-color: transparent;
    color: #e0e0e0;
    border-color: #444;
}
.ranked-tab.active {
    background-color: #fff;
    color: #000;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    border-color: #fff;
}

.golden-separator {
    height: 2px;
    background: linear-gradient(to right, #ffeb3b, #ffc107, #ffeb3b);
    margin-top: 20px;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.ranked-details {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: left;
    margin-top: 25px;
    padding: 0 20px;
}
.ranked-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ranked-item-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ranked-item-text span:first-child {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    white-space: nowrap;
}
.ranked-item-text span:nth-child(2) {
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
    line-height: 1;
}
.badge-image, .emblem-image {
    width: 50px; /* Reduced size */
    height: 50px; /* Reduced size */
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    flex-shrink: 0;
}

.separator {
    height: 1px;
    background-color: #2a2a2a;
    margin: 30px 20px;
    border-radius: 0.5px;
}

.placeholder-img-avatar {
    background-color: #6a0dad;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #eee;
    font-size: 1.5rem;
    text-align: center;
}
.placeholder-img-badge {
    background-color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-size: 0.7rem;
    text-align: center;
    border-radius: 8px;
}


.lang-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    font-weight: bold;
    color: #333;
}

.lang-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.lang-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lang-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4a6cf7;
    transition: .4s;
    border-radius: 34px;
}

.lang-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

input:checked + .lang-slider {
    background-color: #ff6b6b;
}

input:checked + .lang-slider:before {
    transform: translateX(26px);
}

.lang-toggle-container span:first-child {
    color: #4a6cf7;
    font-weight: bold;
}

.lang-toggle-container span:last-child {
    color: #ff6b6b;
    font-weight: bold;
}

.input-container {
    position: relative;
}

.page-links-container {
    display: flex;
    gap: 10px;
    padding: 10px;
    overflow-x: auto;
    white-space: nowrap;
    border: 1px solid #e0e7ff;
    border-radius: 14px;
    background-color: #f8fafc;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-links-container::-webkit-scrollbar {
    height: 6px;
}
.page-links-container::-webkit-scrollbar-track {
    background: transparent;
}
.page-links-container::-webkit-scrollbar-thumb {
    background: #e0e7ff;
    border-radius: 10px;
}
.page-links-container::-webkit-scrollbar-thumb:hover {
    background: #c7d2fe;
}

.page-link {
    flex-shrink: 0;
    text-decoration: none;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    background-color: #ffffff;
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
}

.page-link:hover {
    background-color: #eef2ff;
    color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


/*keyboard*/

.container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.header {
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff8a00, #e52e71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pubg-keyboard {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 900px;
    padding: 30px;
    margin: 0 auto;
    border: 2px solid rgba(67, 56, 202, 0.7);;
    position: relative;
    overflow: hidden;
}

.pubg-keyboard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.pubg-input-field {
    width: 100%;
    padding: 20px;
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: #333;
    background-color: #f0f4f8;
    border-radius: 15px;
    border: 2px solid #cbd5e0;
    outline: none;
    transition: all 0.3s;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pubg-input-field:focus {
    border-color: #ff8a00;
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.3);
}

#pubg-symbols-container {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.pubg-symbols-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pubg-symbol-element {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 2px;
    font-size: .9rem;
    cursor: pointer;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    min-height: 50px;
}

.pubg-symbol-element:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-color: #ff8a00;
}

.pubg-symbol-element:active {
    transform: scale(0.95);
}

.pubg-controls-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.pubg-control-button {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    color: white;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 100px;
}

.pubg-control-button i {
    margin-left: 8px;
    font-size: 1rem;
}

.pubg-control-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.pubg-control-button:active {
    transform: translateY(0);
}

.pubg-clear-all {
    background:  rgba(67, 56, 202, 0.7);
}

.pubg-clear-all:hover {
    background: linear-gradient(145deg, #c53030, #9b2c2c);
}

.pubg-delete-symbol {
    background: rgba(67, 56, 202, 0.7);
}

.pubg-delete-symbol:hover {
    background: linear-gradient(145deg, #dd6b20, #c05621);
}

.pubg-pagination-nav {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #2d3748;
    font-size: .9rem;
    font-weight: 700;
    background: #edf2f7;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 180px;
}

.pubg-nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    cursor: pointer;
    transition: all 0.2s;
    width: 30px;
    height: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: .7rem;
    color: #2d3748;
}

.pubg-nav-button:hover {
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    color: #e53e3e;
}

.pubg-nav-button:active {
    transform: translateY(0);
}

.pubg-nav-button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.instructions {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.instructions h2 {
    color: #e53e3e;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.8rem;
}

.instructions ul {
    padding-right: 20px;
    margin-bottom: 20px;
}

.instructions li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    #pubg-symbols-container, .pubg-symbols-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    
    .pubg-symbol-element {
        padding: 6px 1px;
        font-size: 1.3rem;
        min-height: 45px;
    }
    
    .pubg-control-button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .pubg-pagination-nav {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
    
    .pubg-nav-button {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    #pubg-symbols-container, .pubg-symbols-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .pubg-input-field {
        font-size: 1.2rem;
        padding: 15px;
    }
    
    .pubg-symbol-element {
        padding: 5px 1px;
        font-size: 1.2rem;
        min-height: 40px;
    }
    
    .pubg-controls-container {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .pubg-control-button {
        flex: 1;
        min-width: 80px;
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .pubg-pagination-nav {
        flex: 1 1 100%;
        order: 1;
        margin-top: 10px;
    }
    
    .pubg-nav-button {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

.pubg-copy-btn {
    position: absolute;
    left: 10px;
    top: 30%;
    transform: translateY(-50%);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s;
    width: 25px;
    height: 25px;
}

.pubg-copy-btn:hover {
    background: #45a049;
}

.pubg-copy-btn::before {
    content: "📋"; 
    font-size: 18px;
    color: #555;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pubg-copy-btn:hover::before {
    color: #333;
}.pubg-copy-notif {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

.pubg-show-notif {
    opacity: 1;
}
.pubg-input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

        :root {
            --z-primary: #6a11cb;
            --z-secondary: #2575fc;
            --z-accent: #ff5e62;
            --z-light: #f8f9fa;
            --z-dark: #343a40;
            --z-success: #38b000;
            --z-pink: #ff6b9c;
            --z-blue: #4da8ff;
            --z-purple: #9d4edd;
            --z-orange: #ff9e64;
            --z-teal: #2ec4b6;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        .z-body {
            font-family: 'Cairo', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            color: var(--z-dark);
            line-height: 1.7;
            padding: 0;
        }
        
        .z-container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 0;
        }
        
        .z-btn {
            display: inline-block;
            padding: 12px 28px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 18px;
            margin: 10px 5px;
        }
        
        .z-btn-primary {
            background: linear-gradient(to right, var(--z-primary), var(--z-secondary));
            color: white;
            box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
        }
        .z-btn-primary:hover {
    background: white !important;
    color: var(--z-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4);
}
        .z-btn-outline {
            background: transparent;
            border: 2px solid var(--z-primary);
            color: var(--z-primary);
        }
        
        .z-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4);
        }
        

        .z-section-title {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .z-section-title h2 {
            font-size: 2.5rem;
            color: var(--z-primary);
            position: relative;
            display: inline-block;
            margin-bottom: 1rem;
        }
        
        .z-section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--z-primary), var(--z-secondary));
            border-radius: 2px;
        }
        
        .z-section-title p {
            color: #666;
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
        }
        
        .z-guides {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .z-guide-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .z-guide-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        
        .z-guide-img {
            height: 50px;
            background-size: cover;
            background-position: center;
        }
        
        .z-arabic { background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%); }
        .z-english { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); }
        .z-pubg { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
        .z-articles { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
        
        .z-guide-content {
            padding: 25px;
        }
        
        .z-guide-content h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--z-dark);
        }
        
        .z-guide-content p {
            color: #666;
            margin-bottom: 20px;
        }
        
        .z-benefits {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
        }
        
.z-benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 40px;
}

.z-benefit-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    max-width: 300px;
    min-width: 250px;
    box-sizing: border-box;
}

        .z-benefit-item:hover {
            transform: translateY(-10px);
        }
        
        .z-benefit-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(to right, var(--z-primary), var(--z-secondary));
            color: white;
            font-size: 2rem;
        }
        
        .z-benefit-item h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--z-primary);
        }
        
        .z-how-to-use {
            background: white;
        }
        
        .z-steps {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .z-step {
            flex: 1;
            min-width: 250px;
            text-align: center;
            padding: 30px 20px;
            position: relative;
        }
        
        .z-step-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .z-step-number {
            width: 50px;
            height: 50px;
            background: linear-gradient(to right, var(--z-primary), var(--z-secondary));
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            margin: 0 auto 20px;
        }
        
        .z-step h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--z-dark);
        }
        
        .z-step p {
            text-align: center;
            max-width: 90%;
            margin: 0 auto;
        }
        
        .z-categories {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 20px;
            padding: 30px;
            margin-top: 40px;
        }
        
.z-category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 25px;
}

.z-category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 0 0 calc(33.333% - 25px); 
    max-width: 350px;
    min-width: 280px;
    box-sizing: border-box;
}        
        .z-category-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }
        
        .z-category-header {
            padding: 20px;
            color: white;
            text-align: center;
        }
        
        .z-category-header i {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        
        .z-category-header h3 {
            font-size: 1.6rem;
            margin: 0;
        }
        
        .z-category-body {
            padding: 20px;
            flex-grow: 1;
        }
        
        .z-category-body ul {
            list-style: none;
            padding: 0;
        }
        
        .z-category-body li {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }
        
        .z-category-body li:last-child {
            border-bottom: none;
        }
        
        .z-category-footer {
            padding: 15px 20px;
            text-align: center;
            background: rgba(0, 0, 0, 0.02);
        }
        
        .z-cat-pink .z-category-header { background: linear-gradient(to right, var(--z-pink), #ff8cb4); }
        .z-cat-blue .z-category-header { background: linear-gradient(to right, var(--z-blue), #6fb9ff); }
        .z-cat-purple .z-category-header { background: linear-gradient(to right, var(--z-purple), #b57fe8); }
        .z-cat-orange .z-category-header { background: linear-gradient(to right, var(--z-orange), #ffb289); }
        .z-cat-teal .z-category-header { background: linear-gradient(to right, var(--z-teal), #44d1c2); }
        
        .z-article-link {
            text-decoration: none;
            color: var(--z-dark);
            display: block;
            transition: all 0.2s ease;
            padding: 8px 0;
            font-weight: 600;
        }
        
        .z-article-link:hover {
                 color: var(--z-primary);
            transform: translateX(-5px);
   }
        
        @media (max-width: 768px) {
            
            .z-section-title h2 {
                font-size: 2.2rem;
            }
            
            .z-btn {
                padding: 10px 20px;
                font-size: 16px;
                display: block;
                margin: 10px auto;
                max-width: 250px;
            }
            
            .z-steps {
                flex-direction: column;
                align-items: center;
            }
            
            .z-step {
                min-width: 100%;
                max-width: 400px;
            }
        }
        
        @media (max-width: 480px) {
            .z-section-title h2 {
                font-size: 1.8rem;
            }
            
            .z-guide-content h3 {
                font-size: 1.3rem;
            }
            
            .z-guides {
                grid-template-columns: 1fr;
            }
            
            .z-step {
                min-width: 100%;
            }
        }


.numbers, .symbols {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
    padding: 0;
    justify-content: center;
    font-size: 0;
}

.number, .symbol {
    background: #f0f4f8;
    color: #2d3748;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #cbd5e0;
    vertical-align: top;
}

.number:hover {
    background: #e6fffa;
    color: #234e52;
    border-color: #38b2ac;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.symbol {
    background: #fff5f5;
    color: #742a2a;
    border: 1px solid #fed7d7;
}

.symbol:hover {
    background: #fed7d7;
    color: #742a2a;
    border-color: #feb2b2;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.numbers + .numbers,
.numbers + .symbols,
.symbols + .numbers,
.symbols + .symbols {
    margin-top: 10px; 
}

@media (max-width: 480px) {
    .numbers, .symbols {
        gap: 6px;
        margin: 15px 0; 
    }
    
    .number, .symbol {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .numbers + .numbers,
    .numbers + .symbols,
    .symbols + .numbers,
    .symbols + .symbols {
        margin-top: 8px;
    }
}

/*articles tool*/
/* Improved dropdown styling */
/* أنماط عامة */
/* أنماط عامة */
.generator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#textInput {
    flex: 1;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
}

.clear-btn {
    padding: 12px 15px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.clear-btn:hover {
    background: #e9ecef;
}

/* أنماط خيارات الأدمن */
#adminOptions {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin: 20px 0;
}

#adminOptions h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.option-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #4CAF50;
}

.option-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.custom-dropdown {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    appearance: none;
}

.custom-dropdown:focus {
    outline: none;
    border-color: #4CAF50;
}

.checkbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
    flex: 1;
    min-width: 150px;
}

.checkbox-group:hover {
    border-color: #4CAF50;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    resize: vertical;
    min-height: 100px;
    font-size: 14px;
}

textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.create-article {
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    width: 100%;
}

.create-article:hover {
    background: #45a049;
}

#popupMessage {
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
    border: 1px solid transparent;
}

.success-message {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.error-message {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* أنماط عرض النتائج */



