body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 850px;
    margin: 40px auto;
    padding: 25px;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

h1, h2 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.0em;
    font-weight: 500;
}

label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    color: #555;
    font-size: 1rem;
}

select, video {
    width: 100%;
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fafafa;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

select:focus, video:focus {
    border-color: #0066cc;
    outline: none;
}

video {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 20px auto;
    max-width: 80%;
    height: auto;
    background: #F5F0E1; /* لون أبيض مائل للبني */
    padding: 5px;
    transition: all 0.3s ease-in-out;
}

/* تأثير عند التحويم */
video:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}


.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 15px auto;
    text-align: center;
    font-size: 16px;
    color: #fff;
    background-color: #1877F2;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #005bb5;
}

.donate-container {
    text-align: center;
    margin-bottom: 20px;
}

.forum-container {
    text-align: center;
    margin-top: 20px;
}

#loading {
    display: none;
    text-align: center;
    font-size: 1rem;
    color: #0066cc;
}

.download-button {
    background-color: #1877F2; 
    
}

.download-button:hover {
    background-color: #218838;
}

.disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

#adCount {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
    color: #666;
}

.user-header {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    display: flex;
    align-items: center;
    background-color: #F0F0F0;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.user-header img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.user-header .user-name {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

body {
    margin-top: 0;
}

.paypal-button-container {
    position: absolute;
    top: 10px;
    padding-right: 20px;
    right: 8px;
    z-index: 1001;
}

.paypal-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    height: auto;
    text-indent: -5px;
    padding: 5px 10px;
    line-height: normal;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: 8px;
    background-color: #1877F2;
    color: white;
    font-size: 14px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    width: 120px;
    height: 40px;
    transition: background-color 0.3s ease;
}

.paypal-button:hover {
    background-color: #145dbf;
}  

       .dropdown {
            position: relative;
            display: inline-block;
        }

        /* أيقونة القائمة */
        .dropdown-icon {
            font-size: 30px;
            color: #007bff;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        /* تأثير الأيقونة عند المرور */
        .dropdown:hover .dropdown-icon {
            transform: rotate(90deg); /* دوران الأيقونة */
        }

        /* محتوى القائمة */
        .dropdown-content {
            display: none;
            position: absolute;
            background: linear-gradient(135deg, #007bff, #0056b3);
            min-width: 200px;
            box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
            z-index: 1;
            border-radius: 10px;
            overflow: hidden;
            animation: fadeInDown 0.5s ease;
        }

        /* الروابط داخل القائمة */
        .dropdown-content a {
            color: white;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            transition: background 0.3s ease;
        }

        /* عند التمرير على الرابط */
        .dropdown-content a:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* إظهار القائمة عند المرور */
        .dropdown:hover .dropdown-content {
            display: block;
        }

        /* تأثير الظهور */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }