/* Importing Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    background-image: url("images/hero-bg.jpg");
    background-position: center;
    background-size: cover;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 90px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(17px);
    --webkit-backdrop-filter: blur(17px);
    border-right: 1px solid rgba(24, 195, 252, 0.1);
    transition: width 0.3s ease;
}

.sidebar:hover {
    width: 180px;
}

.sidebar .logo {
    color: #000;
    display: flex;
    align-items: center;
    padding: 25px 10px 15px;
}

.logo img {
    width: 80px;
    border-radius: 5%;
}

.logo h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-left: 15px;
    display: none!important;
}

.sidebar:hover .logo h2 {
    display: block;
}

.sidebar .links {
    list-style: none;
    margin-top: 5px;
    overflow-y: auto;
    scrollbar-width: none;
    height: calc(100% - 140px);
}

.sidebar .links::-webkit-scrollbar {
    display: none;
}

.links li {
    display: flex;
    border-radius: 4px;
    align-items: center;
}

.links li:hover {
    cursor: pointer;
    background: #fff;
    background: rgba(255, 255, 255, 0.4);
}

.links h4 {
    color: #222;
    font-weight: 500;
    display: none;
    margin-bottom: 5px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
        /* white @ 50% */
        border-radius: 18px;
        
}

.sidebar:hover .links h4 {
    display: block;
}

.links hr {
    margin: 5px 5px;
    border: 1px solid #4c4c4c;
}

.sidebar:hover .links hr {
    border-color: transparent;
}

.links li span {
    padding: 3px 5px;
}

.links li a {
    padding: 10px;
    color: #000;
    display: none;
    font-weight: 300;
    font-size: 0.85rem;
        /* ← yahin control hoga */
    white-space: nowrap;
    text-decoration: none;
}

.sidebar:hover .links li a {
    display: block;
    padding: 3px 8px;
}

.links .logout-link {
    margin-top: 15px;
}






body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
}

.main-content {
    margin-left: 260px;
    padding: 20px;
    width: 100%;
    background: #f5f6f8;
    min-height: 100vh;
}

.card {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.card h3 {
    margin-top: 0;
}

input,
textarea,
select {
    width: 100%;
    padding: 8px;
    margin: 6px 0 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.action-bar {
    position: fixed;
    bottom: 0;
    left: 260px;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn {
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn.primary {
    background: #2563eb;
    color: #fff;
}

.btn.secondary {
    background: #e5e7eb;
}