CSS
/* ============================= */
/* MODERN WORLD DASHBOARD */
/* ============================= */
body {
font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f4f6f8;
color: #2c3e50;
margin: 0;
}
h1, h2, h3, h4, h5 {
font-weight: 600;
margin-bottom: 0.5rem;
}
a {
text-decoration: none;
color: #3498db;
transition: all 0.2s ease;
}
a:hover {
color: #1d6fa5;
}
/* ============================= */
/* NAVBAR FOR DASHBOARD */
/* ============================= */
.navbar {
background-color: #1f2937;
color: #fff;
padding: 12px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar .logo {
font-size: 1.8rem;
font-weight: 700;
color: #fff;
}
.navbar a {
color: #fff;
margin-left: 15px;
}
.navbar a:hover {
color: #fbbf24;
}
/* ============================= */
/* CONTAINER */
.container {
max-width: 1200px;
margin: 20px auto;
padding: 0 20px;
}
/* ============================= */
/* DASHBOARD CARDS */
.dashboard {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}
.dashboard-card {
background: #fff;
border-radius: 12px;
padding: 25px 20px;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dashboard-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.dashboard-card h3 {
font-size: 1.2rem;
margin-bottom: 10px;
color: #1f2937;
}
.dashboard-card p {
font-size: 2rem;
font-weight: 700;
margin-bottom: 15px;
color: #111827;
}
.dashboard-card .btn {
background-color: #3498db;
color: #fff;
padding: 8px 15px;
border-radius: 6px;
display: inline-block;
transition: all 0.2s;
}
.dashboard-card .btn:hover {
background-color: #1d6fa5;
}
/* ============================= */
/* QUICK ACTIONS LIST */
.dashboard-card ul {
list-style: none;
padding-left: 0;
}
.dashboard-card ul li {
margin-bottom: 10px;
}
.dashboard-card ul li a {
color: #3498db;
font-weight: 500;
}
.dashboard-card ul li a:hover {
color: #1d6fa5;
text-decoration: underline;
}
/* ============================= */
/* TABLES */
table {
width: 100%;
border-collapse: collapse;
background-color: #fff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
th, td {
padding: 12px 15px;
text-align: left;
}
th {
background-color: #1f2937;
color: #fff;
font-weight: 600;
}
tr:nth-child(even) {
background-color: #f9fafb;
}
tr:hover {
background-color: #e5e7eb;
}
/* ============================= */
/* BUTTONS */
button, .btn {
border: none;
outline: none;
cursor: pointer;
font-weight: 500;
transition: all 0.2s ease;
}
button:hover, .btn:hover {
opacity: 0.85;
}
/* ============================= */
/* RESPONSIVE */
@media (max-width: 768px) {
.dashboard {
grid-template-columns: 1fr;
}
.navbar {
flex-direction: column;
align-items: flex-start;
}
}
















details {
background-color: #ecf0f1;
border-radius: 8px;
margin: 20px 0;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: all 0.3s ease;
}
details:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
details[open] {
background-color: #ffffff;
border-left: 4px solid #3498db;
}
summary {
background-color: #2c3e50;
color: white;
padding: 16px 20px;
cursor: pointer;
font-weight: 600;
font-size: 1.1rem;
transition: background-color 0.3s ease;
position: relative;
list-style: none;
}
summary::-webkit-details-marker {
display: none;
}
summary:after {
content: '+';
position: absolute;
right: 20px;
font-size: 1.5rem;
transition: transform 0.3s ease;
}
details[open] summary:after {
transform: rotate(45deg);
}
summary:hover {
background-color: #34495e;
}
.details-content {
padding: 20px;
}
.details-content p {
color: #2c3e50;
margin-bottom: 15px;
line-height: 1.6;
}
.details-content ul {
margin: 15px 0;
padding-left: 20px;
}
.details-content li {
color: #2c3e50;
margin-bottom: 8px;
padding-left: 10px;
position: relative;
}
.details-content li:before {
content: "•";
color: #3498db;
font-weight: bold;
position: absolute;
left: -5px;
}
.details-content strong {
color: #e74c3c;
}




.navbar {
background-color: #2c3e50;
color: white;
padding: 0 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
height: 70px;
}
.logo {
font-size: 1.8rem;
font-weight: 700;
color: #3498db;
text-decoration: none;
}
.logo span {
color: #e74c3c;
}
.nav-menu {
display: flex;
list-style: none;
}
.nav-item {
margin-left: 25px;
}
.nav-link {
color: white;
text-decoration: none;
font-weight: 500;
font-size: 1rem;
padding: 10px 0;
position: relative;
transition: color 0.3s ease;
}
.nav-link:hover {
color: #3498db;
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: #3498db;
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.hamburger {
display: none;
cursor: pointer;
background: none;
border: none;
width: 30px;
height: 24px;
position: relative;
}
.hamburger span {
display: block;
position: absolute;
height: 3px;
width: 100%;
background-color: white;
border-radius: 3px;
opacity: 1;
left: 0;
transform: rotate(0deg);
transition: .25s ease-in-out;
}
.hamburger span:nth-child(1) {
top: 0;
}
.hamburger span:nth-child(2) {
top: 10px;
}
.hamburger span:nth-child(3) {
top: 20px;
}
.hamburger.active span:nth-child(1) {
top: 10px;
transform: rotate(135deg);
}
.hamburger.active span:nth-child(2) {
opacity: 0;
left: -30px;
}
.hamburger.active span:nth-child(3) {
top: 10px;
transform: rotate(-135deg);
}
/* Content styles */
.content {
max-width: 1200px;
margin: 40px auto;
padding: 0 20px;
}
.hero {
text-align: center;
padding: 60px 20px;
background: linear-gradient(135deg, #3498db, #2c3e50);
color: white;
border-radius: 10px;
margin-bottom: 40px;
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 20px;
}
.hero p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto;
}
.category-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 25px;
}
.category-card {
background-color: white;
border-radius: 8px;
padding: 25px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.category-card h3 {
color: #2c3e50;
margin-bottom: 15px;
font-size: 1.5rem;
border-bottom: 2px solid #3498db;
padding-bottom: 10px;
}
.category-card p {
color: #555;
line-height: 1.6;
}
footer {
background-color: #2c3e50;
color: white;
text-align: center;
padding: 20px;
margin-top: 50px;
}
/* Responsive styles */
@media screen and (max-width: 768px) {
.hamburger {
display: block;
}
.nav-menu {
position: fixed;
top: 70px;
left: -100%;
width: 100%;
height: calc(100vh - 70px);
background-color: #2c3e50;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding-top: 40px;
transition: left 0.5s ease;
z-index: 999;
}
.nav-menu.active {
left: 0;
}
.nav-item {
margin: 15px 0;
}
.nav-link {
font-size: 1.2rem;
padding: 15px 0;
}
.hero h1 {
font-size: 2rem;
}
.hero p {
font-size: 1rem;
}
}
@media screen and (max-width: 480px) {
.logo {
font-size: 1.5rem;
}
.hero {
padding: 40px 15px;
}
.hero h1 {
font-size: 1.8rem;
}
.category-grid {
grid-template-columns: 1fr;
}
}








/* PODCAST CSS */

.podcast-list {
max-width: 900px;
margin: 30px auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}
.podcast-card {
background: #fff;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
transition: 0.2s ease;
}
.podcast-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


.podcast-btn {
background-color: #1f2937;
color: white;
padding: 12px 25px;
border-radius: 8px;
font-size: 1.1rem;
font-weight: 600;
text-decoration: none;
display: inline-block;
transition: 0.2s ease;
}
.podcast-btn:hover {
background-color: #111827;
transform: translateY(-2px);
opacity: 0.9;
}





































/* No Posts State */
.no-posts-container {
max-width: 600px;
margin: 80px auto;
padding: 60px 40px;
text-align: center;
background: white;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
border: 1px solid #f0f0f0;
}
.no-posts-icon {
font-size: 4rem;
margin-bottom: 30px;
opacity: 0.7;
}
.no-posts-title {
font-size: 2.5rem;
font-weight: 700;
color: #2c3e50;
margin-bottom: 15px;
line-height: 1.2;
}
.no-posts-subtitle {
font-size: 1.2rem;
color: #6c757d;
margin-bottom: 40px;
line-height: 1.6;
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
.create-post-cta {
display: inline-block;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 16px 32px;
text-decoration: none;
border-radius: 12px;
font-weight: 600;
font-size: 1.1rem;
transition: all 0.3s ease;
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
border: none;
cursor: pointer;
}
.create-post-cta:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
color: white;
text-decoration: none;
}
/* Alternative minimal version */
.no-posts-minimal {
max-width: 500px;
margin: 100px auto;
padding: 50px 30px;
text-align: center;
}
.no-posts-minimal .no-posts-title {
font-size: 2rem;
color: #495057;
margin-bottom: 10px;
}
.no-posts-minimal .no-posts-subtitle {
font-size: 1.1rem;
color: #868e96;
margin-bottom: 30px;
}
.create-post-minimal {
background: #495057;
color: white;
padding: 12px 28px;
border-radius: 8px;
text-decoration: none;
font-weight: 500;
transition: all 0.2s ease;
}
.create-post-minimal:hover {
background: #343a40;
color: white;
text-decoration: none;
transform: translateY(-1px);
}
/* Responsive */
@media (max-width: 768px) {
.no-posts-container {
margin: 40px 20px;
padding: 40px 20px;
}
.no-posts-title {
font-size: 2rem;
}
.no-posts-subtitle {
font-size: 1.1rem;
}
}