﻿/* ==========================================
   Land Form Styles - استمارة قطع الأراضي السكنية
   ========================================== */

.land-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.08);
    border: 1px solid #bae6fd;
    padding: 30px;
    margin-bottom: 30px;
}

.land-section-title {
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-right: 4px solid #0284c7;
    border-radius: 4px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.form-label {
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-control, .form-select {
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 0.2rem rgba(2, 132, 199, 0.18);
}

/* تنسيقات البردة الجانبية للشروط والتعليمات */
.side-panel {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: 0.4s;
    padding-top: 60px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    border-left: 3px solid #0284c7;
    text-align: right;
    direction: rtl;
}

.side-panel h2 {
    color: #0369a1;
    font-size: 1.2rem;
    padding: 0 20px 15px 20px;
    border-bottom: 2px solid #e0f2fe;
}

.side-panel p {
    padding: 8px 20px;
    font-size: 0.88rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.side-panel .close-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 30px;
    color: #0284c7;
    cursor: pointer;
}

/* 🔹 الشريط/اللسان العمودي البارز عند إغلاق البردة */
.side-bar-button {
    position: fixed;
    right: 0;
    top: 35%;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: white;
    padding: 16px 10px;
    cursor: pointer;
    z-index: 1040;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: -4px 4px 12px rgba(0,0,0,0.18);
    transition: 0.3s;
    text-align: center;
    
    /* 🔹 جعل النص يترتب ويظهر عمودياً بأسلوب أنيق */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 1px;
    white-space: nowrap;
}

.side-bar-button:hover {
    background: #0369a1;
    padding-right: 14px;
}

#overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1045;
    transition: 0.4s;
}

.hidden-file {
    display: none;
}

.choose-file-btn {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 5px;
    display: inline-block;
}

.choose-file-btn:hover {
    background-color: #bae6fd;
}