/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* Body */
body {
    display: flex;
    min-height: 100vh;
    background: #f4f6f8;
}

/* Sidebar */
.sidebar {
    width: 220px;
    background: #1f2937;
    color: white;
    padding: 20px;
    flex-shrink: 0;
}

.sidebar-logo img {
   
    width: 150px;       /* size of logo */
    height: 150px;      /* make it square */
    display: block;
    margin: 0 auto 15px;
    border-radius: 0;  /* remove circle */
    object-fit: cover; /* keeps image from stretching */
}



.sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar a {
    display: block;
    padding: 10px 15px;
    margin-bottom: 5px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
}

.sidebar a:hover {
    background: #3b82f6;
}

/* Main Content */
.main {
    flex: 1;
    padding: 30px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.card h3 {
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 24px;
    font-weight: bold;
    color: #3b82f6;
}

/* Create Post Section */
.section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.section h2 {
    margin-bottom: 15px;
}

.section input,
.section textarea,
.section select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.section textarea {
    resize: vertical;
    min-height: 80px;
}

.create-button {
    padding: 12px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.create-button:hover {
    background: #2563eb;
}
