/* إعداد الصفحة بأسلوب يشبه التيرمينال */
body {
    background-color: black;
    color: #1fea00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px; /* زيادة حجم الخط */
    margin: 0;
    padding: 20px;
    text-align: center; /* توسيط النصوص */
}

/* تنسيق جداول التيرمينال */
.terminal-table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
}

.terminal-table td {
    border: 2px dashed #1fea00;
    padding: 15px;
}

/* تنسيق تيرمينال للنصوص */
h1, h2, p, ul {
    text-align: left;
    padding-left: 15px;
    display: block;
    max-width: 90%; /* تحسين العرض على الهواتف */
    margin: 0 auto;
}

/* إعدادات الصورة الشخصية */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.profile-pic {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    border: 3px dashed #1fea00;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
}

/* إعدادات النافذة المنبثقة */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 50px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* إعدادات الهواتف المحمولة */
@media (max-width: 768px) {
    .profile-pic {
        width: 120px;
        height: 120px;
    }
    h1, h2, p, ul {
        font-size: 16px;
    }
}

/* تغيير لون الإطار إلى برتقالي عند عرض الستوري */
.viewed-story {
    border-color: #ffa500 !important; /* لون برتقالي */
}