/* ———— الأساسيات ———— */
body{
    font-family:Arial,sans-serif;
    background:#fff0f5;
    margin:0;
    padding:0;
}

/* ———— الهيدر ———— */
.header{
    background:#ff69b4;
    color:white;
    padding:10px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* ———— السايد بار ———— */
.sidebar{
    width:200px;
    background:#ffcce0;
    height:100vh;
    position:fixed;
    right:0;
    top:0;
    padding-top:20px;
    transition:transform 0.3s;
    z-index:999;
}

.sidebar.closed{
    transform:translateX(200px);
}

.sidebar.open{
    transform:translateX(0);
}

.sidebar ul{
    list-style:none;
    padding:0;
}

.sidebar ul li{
    margin:10px 0;
    text-align:center;
}

.sidebar ul li a{
    text-decoration:none;
    color:#000;
    font-weight:bold;
}

/* ———— المحتوى ———— */
.content{
    margin-right:220px;
    padding:20px;
}

/* ———— بطاقات القاعات ———— */
.halls-container{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    justify-content:center;
}

.hall-card{
    background:#ffe6f0;
    padding:20px;
    border-radius:10px;
    width:300px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
    text-align:center;
}

/* ———— الأزرار ———— */
.btn{
    display:inline-block;
    padding:8px 15px;
    background:#ff69b4;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
    margin-top:10px;
}

.btn:hover{
    background:#e55ea0;
}

button{
    cursor:pointer;
}

/* ———— الفورمات ———— */
input, select{
    padding:8px;
    margin:5px 0;
    border-radius:5px;
    border:1px solid #ddd;
}

form label{
    display:block;
    margin-top:10px;
}

.add-btn-box{
    display:flex;
    justify-content:center;
    margin:20px 0;
}

/* ———— الصور ———— */
img{
    max-width:100%;
    height:auto;
    border-radius:10px;
}

/* ———— الشات ———— */
.chat-box{
    background:#ffeef7;
    padding:15px;
    border-radius:10px;
    height:350px;
    overflow-y:scroll;
    margin-bottom:15px;
    border:1px solid #f3c6dd;
}

.msg{
    padding:10px;
    margin-bottom:25px;
    border-radius:8px;
    max-width:70%;
    position:relative;
}

.msg.me{
    background:#d63384;
    color:white;
    margin-left:auto;
}

.msg.other{
    background:white;
    color:#333;
    margin-right:auto;
    border:1px solid #f3c6dd;
}

.msg-time{
    position:absolute;
    bottom:-18px;
    right:5px;
    font-size:11px;
    color:#444;
    opacity:0.9;
}

/* ———— زر الرجوع ———— */
.back-btn{
    display:inline-block;
    background:#d63384;
    color:white;
    padding:6px 12px;
    border-radius:50%;
    text-decoration:none;
    font-size:20px;
    margin-bottom:10px;
    transition:0.2s;
}
.agree-box{
    display:flex;
    align-items:center;
    gap:8px;
    margin:10px 0 20px;
    font-size:14px;
    cursor:pointer;
}

.agree-box input{
    width:18px;
    height:18px;
}


.back-btn:hover{
    background:#b82a6f;
}

/* ———— قائمة المحادثات ———— */
.chat-item{
    display:flex;
    flex-direction:column;
    background:white;
    padding:12px;
    border-radius:10px;
    border:1px solid #f3c6dd;
    text-decoration:none;
    color:#333;
    position:relative;
    transition:0.2s;
}

.chat-item:hover{
    background:#ffeef7;
}

.chat-name{
    font-weight:bold;
    color:#b82a6f;
    margin-bottom:5px;
}

.chat-last{
    font-size:14px;
    color:#555;
}

.chat-time{
    position:absolute;
    top:10px;
    right:10px;
    font-size:12px;
    color:#777;
}

/* ———— شاشات الجوال ———— */
@media (max-width: 600px) {

    .sidebar{
        width:180px;
        transform:translateX(180px);
    }

    .sidebar.open{
        transform:translateX(0);
    }

    .content{
        margin-right:0;
        padding:15px;
    }

    .hall-card{
        width:100% !important;
    }

    .chat-box{
        height:60vh;
    }

    .msg{
        max-width:85%;
        font-size:14px;
    }

    .send-box input{
        font-size:14px;
    }

    .send-box button{
        padding:8px 12px;
        font-size:14px;
    }

    .chat-item{
        padding:10px;
    }

    .chat-name{
        font-size:16px;
    }

    .chat-last{
        font-size:13px;
    }
}

/* ———— التابلت ———— */
@media (min-width: 601px) and (max-width: 900px) {
    .content{
        padding:15px;
        margin-right:0;
    }

    .chat-box{
        height:350px;
    }

    .msg{
        max-width:80%;
    }
}

/* ———— الشاشات الكبيرة ———— */
@media (min-width: 901px) {
    .content{
        width:70%;
        margin:auto;
    }
}
.form-box {
    max-width: 600px;
    margin: 30px auto;
    background: #fff5fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f3c6dd;
}

.form-box label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.form-box input,
.form-box textarea,
.form-box select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.form-box button {
    margin-top: 15px;
    padding: 12px;
    width: 100%;
    background: #d63384;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

.form-box button:hover {
    background: #b82a6f;
}

.gallery img {
    width: 200px;
    margin: 10px;
    border-radius: 10px;
}

.main-img {
    width: 400px;
    border-radius: 15px;
    margin-bottom: 20px;
}

