html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


.bed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,120px);
    gap: 20px;
    margin-top: 30px;
}

.bed-item {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: #f8f8f8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .bed-item img {
        width: 90px;
        height: 90px;
        transition: 0.2s;
    }

        .bed-item img:hover {
            transform: scale(1.08);
        }

.bed-number {
    margin-top: 5px;
    font-weight: 600;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
    margin-top: 30px;
}
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 20px;
}

.card {
    padding: 25px;
    border-radius: 12px;
    color: white;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .card h4 {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .card h2 {
        font-size: 40px;
    }

/* Card Colors */

.gradient-blue {
    background: linear-gradient(135deg,#3498db,#2980b9);
}

.gradient-purple {
    background: linear-gradient(135deg,#9b59b6,#8e44ad);
}

.gradient-green {
    background: linear-gradient(135deg,#2ecc71,#27ae60);
}

.gradient-orange {
    background: linear-gradient(135deg,#f39c12,#e67e22);
}

.gradient-red {
    background: linear-gradient(135deg,#e74c3c,#c0392b);
}

.gradient-yellow {
    background: linear-gradient(135deg,#f1c40f,#f39c12);
}

.gradient-teal {
    background: linear-gradient(135deg,#1abc9c,#16a085);
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.card-number {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Gradient Colors */

.gradient-orange {
    background: linear-gradient(135deg,#f39c12,#e67e22);
}

.gradient-red {
    background: linear-gradient(135deg,#e74c3c,#c0392b);
}

.gradient-blue {
    background: linear-gradient(135deg,#3498db,#2980b9);
}

.gradient-green {
    background: linear-gradient(135deg,#2ecc71,#27ae60);
}

.blue {
    background: #3498db;
}

.green {
    background: #27ae60;
}

.red {
    background: #e74c3c;
}

.yellow {
    background: #f39c12;
}

.purple {
    background: #8e44ad;
}

.grey {
    background: #7f8c8d;
}

.revenue {
    background: #16a085;
}
body {
    margin: 0;
    font-family: Segoe UI,Arial;
    background: #f4f6f9;
}

.admin-wrapper {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 230px;
    background: #2c3e50;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

    .sidebar a {
        color: white;
        text-decoration: none;
        padding: 12px;
        margin: 4px 0;
        border-radius: 6px;
    }

        .sidebar a:hover {
            background: #34495e;
        }

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification {
    position: relative;
    font-size: 20px;
    cursor: pointer;
}

.badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: red;
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 50%;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.content {
    padding: 25px;
    flex: 1;
    overflow: auto;
}

.footer {
    background: #ecf0f1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}
.notification {
    position: relative;
    cursor: pointer;
}

.notification-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 30px;
    background: white;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 10px;
}

.notification:hover .notification-dropdown {
    display: block;
}

.notification-dropdown a {
    display: block;
    padding: 6px;
    text-decoration: none;
    color: #333;
}

    .notification-dropdown a:hover {
        background: #f1f1f1;
    }

.page-title {
    margin-bottom: 20px;
}

.dashboard-section {
    width: 100%;
    background: white;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Statistics Row */

.stats-box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: #ecf0f1;
    border-radius: 8px;
}

    .stat-item span {
        display: block;
        font-size: 14px;
        color: #666;
    }

    .stat-item h3 {
        font-size: 28px;
        margin-top: 5px;
    }

/* Alerts */

.alerts-section {
    display: flex;
    gap: 20px;
}

.alert-box {
    flex: 1;
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    color: white;
}

.pending {
    background: #f39c12;
}

.rent {
    background: #e74c3c;
}

.occupancy {
    background: #27ae60;
}

.alert-box h2 {
    font-size: 40px;
    margin-top: 10px;
}

/* Tables */

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th {
        background: #34495e;
        color: white;
        padding: 10px;
    }

    .table td {
        padding: 10px;
        border-bottom: 1px solid #ddd;


    }
@media print {

    button, a {
        display: none;
    }
}




.hero-section {
    
    height: 200px;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 25px;
}







