/* === GLAMORGLASS ADMIN THEME === */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: radial-gradient(circle at top, #0f0f17, #000);
    color: white;
}

/* Sidebar */
.sidebar {
    position: fixed;
    width: 240px;
    height: 100vh;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    padding: 25px 15px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.sidebar h2 {
    margin: 0 0 30px;
    font-size: 22px;
    background: linear-gradient(90deg,#a855f7,#ec4899);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 600;
}

.sidebar a {
    display: block;
    padding: 12px 18px;
    margin-bottom: 8px;
    border-radius: 10px;
    text-decoration: none;
    color: #ddd;
    font-size: 15px;
    transition: .25s;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* Content wrapper */
.main {
    margin-left: 260px;
    padding: 30px;
}

/* Navbar */
.admin-navbar {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(18px);
    padding: 15px 25px;
    border-radius: 14px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.15);

    display: flex;
    justify-content: space-between;
}

/* Cards */
.card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(18px);
    margin-bottom: 20px;
    transition: .3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(160,50,255,0.3);
}

/* Table */

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.table th, .table td {
    padding: 12px 14px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}

.table th {
    background: rgba(255,255,255,0.15);
}

/* Buttons */
.btn {
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(90deg,#a855f7,#ec4899);
    border: none;
    cursor: pointer;
    color: white;
    font-size: 14px;
    transition: .25s;
    text-decoration: none;
}

.btn:hover {
    opacity: .85;
    transform: translateY(-2px);
}

/* --- FORM GLAMORGLASS CLEAN LAYOUT --- */
.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.form-wrapper textarea {
    grid-column: span 2;
}

.form-wrapper button {
    grid-column: span 2;
    width: fit-content;
}

label {
    margin-bottom: 6px;
    font-size: 14px;
    display: block;
    opacity: .85;
}

input, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 15px;
    transition: .25s;
}

input:focus, textarea:focus {
    border-color: #bb77ff;
    box-shadow: 0 0 10px rgba(187,119,255,.5);
}

textarea {
    min-height: 120px;
}

.btn-submit {
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(90deg,#a855f7,#ec4899);
    font-weight: 500;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    transition: .3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    opacity: .85;
}
.pg-btn:hover {
    background: rgba(255,255,255,0.5) !important;
    transform: scale(1.08);
    transition: .2s;
}
