/* =========================
GLOBAL
========================= */

body {
    font-family: "Inter", "Segoe UI", sans-serif;
    margin: 0;
    background: linear-gradient(135deg,#eef2ff,#f8fafc);
    color: #1f2937;
}

/* =========================
NAVBAR
========================= */

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(79,70,229,0.85);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    position: relative;
    transition: 0.25s;
}

.navbar a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:white;
    transition:0.3s;
}

.navbar a:hover::after{
    width:100%;
}

.brand {
    font-size: 20px;
    font-weight: 700;
}

/* =========================
FOOTER
========================= */

.footer {
    backdrop-filter: blur(10px);
    background: rgba(79,70,229,0.9);
    color: white;
    padding: 20px 40px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* =========================
CONTAINER
========================= */

.container {
    padding: 50px;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
}

/* =========================
BOARD GRID
========================= */

.board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* =========================
CARD (Glass UI)
========================= */

.card {
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,0.6);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: 0.35s ease;
}

.card:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.card h2{
    margin-top:0;
}

.description{
    margin-bottom:12px;
    line-height:1.5;
}

.meta{
    font-size:14px;
    color:#6b7280;
}

.price{
    font-size:22px;
    font-weight:700;
    color:#22c55e;
    margin:12px 0;
}

.contact{
    border-top:1px solid rgba(0,0,0,0.1);
    padding-top:10px;
    font-size:14px;
}

/* =========================
FORM CENTER
========================= */

.center-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:80vh;
}

/* =========================
FORM CONTAINER
========================= */

.form-container{
    backdrop-filter: blur(18px);
    background: rgba(255,255,255,0.65);
    border-radius:16px;
    padding:40px;
    width:100%;
    max-width:420px;
    border:1px solid rgba(255,255,255,0.4);
    box-shadow:0 25px 60px rgba(0,0,0,0.15);
    animation: fadeUp 0.6s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.form-container h1{
    text-align:center;
    margin-bottom:25px;
}

/* =========================
INPUTS
========================= */

.form-container input,
.form-container select,
.form-container textarea{
    width:100%;
    padding:12px;
    margin-bottom:16px;
    border-radius:8px;
    border:1px solid #d1d5db;
    font-size:14px;
    transition:0.25s;
}

.form-container input:focus,
.form-container textarea:focus,
.form-container select:focus{
    outline:none;
    border-color:#6366f1;
    box-shadow:0 0 0 3px rgba(99,102,241,0.2);
}

/* =========================
BUTTON
========================= */

.form-container input[type="submit"]{
    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    font-size:16px;
    font-weight:600;
    background: linear-gradient(135deg,#6366f1,#4f46e5);
    color:white;
    cursor:pointer;
    transition:0.3s;
}

.form-container input[type="submit"]:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(79,70,229,0.35);
}

/* =========================
LINK
========================= */

.register-link{
    text-align:center;
    margin-top:15px;
}

.register-link a{
    color:#4f46e5;
    text-decoration:none;
    font-weight:600;
}

/* =========================
TABLE
========================= */

.table-wrapper{
    overflow-x:auto;
}

.moderation-table{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.moderation-table th,
.moderation-table td{
    padding:10px;
    border-bottom:1px solid #e5e7eb;
}

.moderation-table th{
    background:#eef2ff;
}

/* =========================
BUTTONS
========================= */

.approve-btn{
    padding:7px 12px;
    background:#22c55e;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
    transition:0.25s;
}

.approve-btn:hover{
    background:#16a34a;
    transform:scale(1.05);
}

.delete-btn{
    padding:7px 12px;
    background:#ef4444;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
    transition:0.25s;
}

.delete-btn:hover{
    background:#dc2626;
    transform:scale(1.05);
}

/* =========================
RADIO / CHECKBOX
========================= */

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
}

.radio-group input[type="radio"] {
    margin: 0;
}