@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;600&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto Condensed", sans-serif;
}

body {
    overflow-x: hidden;
    background: #f3f4f6;
}

/* SIDEBAR */
.sidebar {
    width: 240px;
    background: #f3f4f6;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding: 20px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-nav { flex-grow: 1; }

.sidebar a {
    display: flex;
    align-items: center;
    padding: 8px 0;
    gap: 10px;
    text-decoration: none;
    color: #374151;
}

.sidebar a:hover { color: #000; }

/* PROFILE BOX */
.profile-box {
    width: 200px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.avatar-mini {
    width: 34px;
    height: 34px;
    background: #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.profile-menu {
    position: absolute;
    bottom: 85px;
    left: 20px;
    width: 240px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    display: none;
    overflow: hidden;
    z-index: 1500;
}

.menu-item {
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    cursor: pointer;
}
.menu-item:hover { background: #f3f4f6; }
.menu-item.logout { 
    color: #dc2626;
    border-top: 1px solid #e5e7eb;
}

/* CONTENT */
.content {
    margin-left: 240px;
    padding: 20px;
}

.content-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 20px;
    width: 100%;
    min-height: calc(100vh - 40px);
}

/* FILTER BAR */
.filter-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.filter-wrap input { max-width: 450px; }

/* TABLE */
.table-wrapper {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

table thead th {
    background: #f1f1f1 !important;
    font-weight: 600;
    font-size: 14px;
}

/* MOBILE CARD */
.mobile-card {
    display: none;
    border: 1px solid #e5e7eb;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 14px;
    background: #fff;
}

/* RESPONSIVE */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1100;
}

.mobile-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .sidebar { left: -260px; transition: .3s; }
    .sidebar.show { left: 0; }
    .mobile-toggle { display: block; }
    .content { margin-left: 0; padding: 15px; }
    .content-card { padding: 15px; }
}

@media (max-width: 768px) {
    .desktop-table { display: none; }
    .mobile-card { display: block; }
    .filter-wrap { flex-direction: column; align-items: stretch; }
    .new-app-btn { width: 100%; }
}

/* LOGIN PAGE */
.login-page {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.login-box {
    width: 380px;
    padding: 35px 40px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.login-box h6 {
    text-align: center;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 5px;
}

.login-box h3 {
    font-weight: 700;
}

/* FIELD ICONS */
.input-wrap {
    position: relative;
    width: 100%;
}

.icon-left {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9ca3af;
    pointer-events: none;
}

.icon-right {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 17px;
    color: #6b7280;
    cursor: pointer;
    z-index: 10;
}

.login-input {
    height: 42px;
    padding-left: 42px !important;
    padding-right: 42px !important;
}

/* SIGN-IN BUTTON */
.sign-in-btn {
    background: #f5b400;
    border: none;
    color: #000;
    font-weight: 600;
    padding: 12px;
    margin-top: 12px;
    border-radius: 6px;
}
.sign-in-btn:hover {
    background: #e0a200;
}

/* LINKS */
.login-links a {
    color: #374151;
    text-decoration: none;
    margin: 0 5px;
}
.login-links a:hover {
    text-decoration: underline;
}
