@font-face {
	font-family: est;
	src: url(../../admin/css/fonts/est.woff2) format("woff2");
}  
.alonak-alert, 
.alonak-panel-wrapper, 
.alonak-panel-wrapper [type="button"],
.alonak-panel-wrapper td,
.alonak-panel-wrapper tr,
.alonak-panel-wrapper th,
.alonak-panel-wrapper li,
.alonak-panel-wrapper h1, 
.alonak-panel-wrapper h2,
.alonak-panel-wrapper h3,
.alonak-panel-wrapper h4,
.alonak-panel-wrapper h5,
.alonak-panel-wrapper h6,
.alonak-panel-wrapper p,
.alonak-panel-wrapper span,
.alonak-panel-wrapper label {
	font-family: est;
}

.alonak-alert--warning p,
.alonak-alert--warning a {
    margin: 0;
}
.alonak-thumbnail-preview__item {
    width: 200px;
}
.alonak-thumbnail-preview__remove {
    background: #000;
    color: #fff;
    padding: 0px 10px;
    border-radius: 32px;
    position: absolute;
    margin: 10px -40px 0 0;
    border: 2px solid;
    cursor: pointer;
}

.alonak-panel-wrapper {
    display: flex;
    min-height: 100vh;
    direction: rtl;
    background: #ffffff;
}

/* --- Sidebar --- */
.alonak-sidebar {
    width: 220px;
    min-width: 220px;
    background: #f9f9f9;
    color: #c8d0e0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.alonak-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.alonak-sidebar__logo {
    font-size: 26px;
}

.alonak-sidebar__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a2340;
    letter-spacing: 0.3px;
}

.alonak-sidebar__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.alonak-sidebar__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    object-fit: cover;
}

.alonak-sidebar__user-info strong {
    display: block;
    color: #1a2340;
    font-size: 14px;
    font-weight: 600;
}

.alonak-sidebar__user-info small {
    color: #3c4556;
    font-size: 12px;
}

.alonak-sidebar__nav {
    flex: 1;
    padding: 12px 0;
}

.alonak-sidebar__nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    text-decoration: none;
    color: #1a2340;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-right: 3px solid transparent;
}

.alonak-sidebar__nav-item:hover {
    background: rgb(210 222 243);
    color: #090e1e;
}

.alonak-sidebar__nav-item--active {
    background: rgb(210 222 243);
    color: #090e1e;
    border-right-color: #4f8cff;
}

.alonak-sidebar__nav-icon {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.alonak-sidebar__footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.alonak-sidebar__logout {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a2340;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.alonak-sidebar__logout:hover {
    color: #ff6b6b;
}

/* --- Content --- */
.alonak-panel-content {
    flex: 1;
    padding: 25px 10px;
    overflow-x: auto;
    max-width: calc(100vw - 220px);
}

.alonak-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.alonak-page-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a2340;
}

/* --- Welcome Banner --- */
.alonak-welcome-banner {
    background: #f9f9f9;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alonak-welcome-banner h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
}

.alonak-welcome-banner p {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
}

.alonak-welcome-banner__icon {
    font-size: 52px;
    opacity: 0.6;
}

/* --- Stats --- */
.alonak-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.alonak-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e8ecf0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.alonak-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.alonak-stat-card__icon  { font-size: 24px; margin-bottom: 8px; }
.alonak-stat-card__value { font-size: 18px; font-weight: 700; color: #1a2340; }
.alonak-stat-card__label { color: #7a8499; font-size: 13px; margin-top: 4px; }

/* --- Section --- */
.alonak-section {
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    border: 1px solid #e8ecf0;
    margin-bottom: 24px;
}

.alonak-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.alonak-section__header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a2340;
}

.alonak-link {
    color: #4f8cff;
    text-decoration: none;
    font-size: 13px;
}

.alonak-owner-panel__header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #e9ecef !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.alonak-owner-panel__header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
}

/* Availability */
.alonak-masdood {
    display: flex;
    gap: 20px;
}

.alonak-avail-section.calendar {
    width: 70%;
    text-align: center;
}

.alonak-avail-section.weekdays {
    width: 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.alonak-avail-calendar-container {
    max-width: 100% !important;
}

.alonak-cal-weekdays span {
    font-size: 14px !important;
    padding: 0 !important;
    background: #1e6f50 !important;
    color: #fff !important;
    aspect-ratio: 2 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.alonak-cal-nav {
    height: 50px !important;
}

.alonak-cal-nav__btn {
    font-size: 40px !important;
}

.alonak-weekday-grid {
    flex-direction: column;
    align-items: flex-start;
}

label.alonak-weekday-chip {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Form Sections */
.alonak-form-section__title {
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    color: #2c3e50;
    font-size: 18px;
}

.alonak-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.alonak-form-row--2cols .alonak-form-field { flex: 1; min-width: calc(50% - 15px); }
.alonak-form-row--3cols .alonak-form-field { flex: 1; min-width: calc(33.33% - 15px); }
.alonak-form-row--4cols .alonak-form-field { flex: 1; min-width: calc(25% - 15px); }
.alonak-form-row--full  .alonak-form-field { flex: 1; min-width: 100%; }

.alonak-form-field {
    margin-bottom: 10px;
}

.alonak-form-field.alonak-form-field--full {
    width: 100%;
}

.alonak-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.alonak-form-field input[type="text"],
.alonak-form-field input[type="number"],
.alonak-form-field input[type="time"],
.alonak-form-field select,
.alonak-form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.alonak-form-field input:focus,
.alonak-form-field select:focus,
.alonak-form-field textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.required {
    color: #dc3545;
}

/* Error Field */
.alonak-error-field {
    border-color: #dc3545 !important;
    background-color: #fff8f8 !important;
}

/* Input Addon */
.alonak-input-addon {
    display: flex;
    align-items: stretch;
}

.alonak-input-addon input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.alonak-input-addon__suffix {
    background: #e9ecef;
    border: 1px solid #ced4da;
    border-left: none;
    padding: 0 12px;
    margin-right: -10px;
    display: flex;
    align-items: center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 14px;
    color: #495057;
}

/* Pricing Type */
.alonak-pricing-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.alonak-radio-card {
    flex: 1;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    min-width: 120px;
}

.alonak-radio-card input {
    margin-right: 8px;
}

.alonak-radio-card:has(input:checked) {
    border-color: #007bff;
    background: #f0f7ff;
}

/* Amenities */
.alonak-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.alonak-amenities-group {
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.alonak-amenities-group h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 16px;
}

.alonak-amenities-items {
    flex-wrap: wrap !important;
    flex-direction: row !important;
}

.alonak-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
}

.alonak-checkbox-item input {
    margin: 0;
}

.alonak-checkbox-item.checked {
    color: #007bff;
}

/* Gallery */

/* File Upload Area */
.alonak-file-upload-area {
    margin-bottom: 10px;
}

.alonak-file-input {
    display: none;
}

.alonak-file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #f0f7ff;
    border: 2px dashed #4f8cff;
    border-radius: 10px;
    cursor: pointer;
    color: #1a2340;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.alonak-file-upload-label:hover {
    background: #e3f0ff;
    border-color: #2a6fd4;
}

.alonak-file-upload-label span {
    font-size: 20px;
}

.alonak-uploading {
    padding: 15px;
    background: #f0f2f5;
    border-radius: 8px;
    color: #5a6479;
    text-align: center;
}

/* Map */
.alonak-map-canvas {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #ced4da;
}

.alonak-map-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

/* Form Actions */
.alonak-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

/* --- Buttons --- */
.alonak-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
    min-height: 30px !important;
}

.alonak-btn--primary {
    background: #4f8cff;
    color: #fff;
}
.alonak-btn--primary:hover { background: #3a7de8; color: #fff; }

.alonak-btn-primary {
    background: #007bff;
    color: #fff;
}
.alonak-btn-primary:hover { background: #0056b3; color: #fff; }

.alonak-btn--ghost {
    background: transparent;
    color: #4f8cff;
    border: 1px solid #4f8cff;
}
.alonak-btn--ghost:hover { background: #f0f6ff; }

.alonak-btn-outline {
    background: transparent;
    border: 1px solid #007bff;
    color: #007bff;
}
.alonak-btn-outline:hover { background: #007bff; color: #fff; }

.alonak-btn--sm,
.alonak-btn-small {
    padding: 5px 11px;
    font-size: 12px;
}

.alonak-btn--danger {
    background: #fff0f0;
    color: #e53935;
    border: 1px solid #ffcdd2;
}
.alonak-btn--danger:hover {     
	background: #fff0f0;
    color: #e53935;
    box-shadow: 0px 3px 5px -3px; 
}

/* --- Responsive Table (Mobile First) --- */
.alonak-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
	border: none;
}

.alonak-table__thumbnail img,
.alonak-table__thumb img {
    width: 52px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}
.alonak-table__thumb {
    text-align: center;
    width: 75px;
}

@media (min-width: 768px) {
    .alonak-table thead {
        display: table-header-group;
    }
    
    .alonak-table tr {
        display: table-row;
		background: #fff !important;
    }
    
    .alonak-table th,
    .alonak-table td {
        display: table-cell;
        padding: 10px;
        text-align: center !important;
    }
    
    .alonak-table th {
        background: #f7f9fc;
        color: #5a6479;
        font-weight: 600;
        border-bottom: 1px solid #e8ecf0;
        white-space: nowrap;
    }
    
    .alonak-table td {
        border-bottom: 1px solid #f0f2f5;
        color: #374151;
        vertical-align: middle;
    }
    
    .alonak-table tbody tr:hover {
        background: #f7f9fc;
    }
}

@media (max-width: 767px) {
    .alonak-table,
    .alonak-table thead,
    .alonak-table tbody,
    .alonak-table tr,
    .alonak-table th,
    .alonak-table td {
        display: block;
    }
    
    .alonak-table thead {
        display: none;
    }
    
    .alonak-table tr {
        margin-bottom: 20px;
        border: 1px solid #e8ecf0;
        border-radius: 12px;
        background: #fff;
        padding: 12px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    
    .alonak-table td {
		display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5px;
        padding: 8px 0;
        border-bottom: 1px solid #f0f2f5;
        text-align: center;
        flex-direction: column;
    }
    
    .alonak-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #5a6479;
        min-width: 100px;
        font-size: 12px;
    }
    
    .alonak-table td:last-child {
        flex-direction: column;
        align-items: center;
        max-width: 100% !important;
    }
	.alonak-table__thumbnail img, .alonak-table__thumb img {
		width: 90px;
		height: 90px;
	}   
    
    .alonak-btn--sm {
        display: inline-block;
        text-align: center;
    }
.alonak-btn--sm {
    width: 90%;
}	
}

/* Buttons */
.alonak-btn--sm {
    padding: 5px 10px !important;
    background: #f3f4f6 !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    color: #1f2937 !important;
    font-size: 12px !important;
    transition: all 0.2s !important;
    border: none !important;
    margin: 0 5px;
}

.alonak-btn--sm:hover {
    background: #196247;
    box-shadow: 0px 3px 5px -3px #196247;
    color: #fff;
}
.alonak-btn--success {
    background: #1e6f50;
    color: #fff;
}
.alonak-no-thumb,
.alonak-no-image {
    width: 52px;
    height: 40px;
    background: #f0f2f5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #6c757d;
}

/* --- Badges --- */
.alonak-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    width: 90px;
}

.alonak-badge--success   { background: #e8f5e9; color: #2e7d32; }
.alonak-badge--warning   { background: #fff8e1; color: #f57f17; }
.alonak-badge--danger    { background: #fce4ec; color: #c62828; }
.alonak-badge--secondary { background: #f0f2f5; color: #5a6479; }

/* --- Alerts --- */
.alonak-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alonak-alert--success { background: #e8f5e9; color: #2e7d32; border-right: 4px solid #4caf50; }
.alonak-alert--error   { background: #fce4ec; color: #c62828; border-right: 4px solid #e53935; }
.alonak-alert--warning { background: #fff8e1; color: #f57f17; border-right: 4px solid #ffc107; }
.alonak-alert--info    { background: #e3f2fd; color: #1565c0; border-right: 4px solid #2196f3; }

/* --- Notices / Messages --- */
.alonak-notice,
.alonak-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alonak-notice--success,
.alonak-message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alonak-notice--info,
.alonak-message--info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alonak-notice--warning,
.alonak-message--warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alonak-notice--error,
.alonak-message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alonak-notice__link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* Loading State */
.alonak-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* --- Empty State --- */
.alonak-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf0;
}
.alonak-empty-state__icon { font-size: 56px; margin-bottom: 16px; opacity: 0.5; }
.alonak-empty-state h3    { color: #374151; margin-bottom: 8px; }
.alonak-empty-state p     { color: #7a8499; margin-bottom: 20px; }

/* --- Profile Form --- */
.alonak-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.alonak-form__group         { display: flex; flex-direction: column; gap: 6px; }
.alonak-form__group--full   { grid-column: 1 / -1; }
.alonak-form__group label   { font-size: 13px; font-weight: 600; color: #374151; }

.alonak-input,
.alonak-textarea {
    padding: 9px 12px;
    border: 1px solid #dde1e8;
    border-radius: 8px;
    font-size: 13.5px;
    font-family: inherit;
    color: #1a2340;
    transition: border-color 0.2s;
}

.alonak-input:focus,
.alonak-textarea:focus {
    outline: none;
    border-color: #4f8cff;
    box-shadow: 0 0 0 3px rgba(79,140,255,0.1);
}

.alonak-textarea       { resize: vertical; }
.alonak-divider        { border: none; border-top: 1px solid #e8ecf0; margin: 20px 0; }
.alonak-hint           { color: #7a8499; font-size: 13px; margin-bottom: 14px; }
.alonak-form__actions  { margin-top: 20px; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .alonak-panel-wrapper        { flex-direction: column; }
    .alonak-sidebar              { width: 100%; height: auto; position: relative; flex-direction: row; flex-wrap: wrap; padding: 10px; }
    .alonak-sidebar__brand       { display: none; }
    .alonak-sidebar__user        { padding: 8px 12px; border: none; }
    .alonak-sidebar__nav         { display: flex; flex: 1; overflow-x: auto; padding: 4px 0; }
    .alonak-sidebar__nav-item    { padding: 8px 12px; border-right: none; border-bottom: 3px solid transparent; flex-direction: column; gap: 3px; font-size: 11px; }
    .alonak-sidebar__nav-item--active { border-bottom-color: #4f8cff; border-right: none; }
    .alonak-sidebar__footer      { display: none; }
    .alonak-panel-content        { max-width: 100%; padding: 20px 5px; }
	.alonak-owner-panel			 { padding: 20px 10px; }	
	.alonak-form-section 		 { padding: 5px; }
    .alonak-stats-grid           { grid-template-columns: repeat(2, 1fr); }
    .alonak-form__grid           { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .alonak-form-row--3cols .alonak-form-field,
    .alonak-form-row--4cols .alonak-form-field { min-width: 100%; }
    .alonak-owner-panel__header  { flex-direction: column; align-items: stretch; text-align: center; }
    .alonak-table                { display: block; overflow-x: auto; }
    .alonak-amenities-grid       { grid-template-columns: 1fr; }
    .alonak-pricing-type-selector { flex-direction: column; }
    .alonak-gallery-metabox__desc { flex-direction: column; align-items: stretch; }
}

@media (max-width: 500px) {
    .alonak-stats-grid { grid-template-columns: 1fr 1fr; }
    .alonak-table      { font-size: 12px; }
}
@media (max-width: 900px) {
	
.alonak-masdood {
    flex-direction: column;
}
.alonak-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-direction: column;
    gap: 5px;
}	
    .alonak-panel-wrapper {
        flex-direction: column;
        padding-bottom: 70px; 
    }

    .alonak-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        height: auto;
        background: #fff;
        border-top: 1px solid #e8ecf0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        z-index: 100;
        padding: 0;
    }

    .alonak-sidebar__brand,
    .alonak-sidebar__user,
    .alonak-sidebar__footer {
        display: none;
    }

    .alonak-sidebar__nav {
        display: flex;
		flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        padding: 10px 0;
        margin: 0;
        overflow: visible;
    }

    .alonak-sidebar__nav-item {
        flex-direction: column;
        padding: 5px;
        border-radius: 8px;
        border-right: none;
		width: 30%;
        background: transparent;
    }

    .alonak-sidebar__nav-icon {
        font-size: 22px;
    }

    .alonak-sidebar__nav-label {
        font-size: 11px;
    }

    .alonak-sidebar__nav-item--active {
        background: #4f8cff15;
        color: #4f8cff;
        border-bottom: none;
    }
.alonak-panel-wrapper {
    width: 100%;
}	
.alonak-page-header {
    justify-content: center;
	margin-bottom: 10px;
}
}