* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #4d4d4d;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
}

/* Logo Section */
.logo-section {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.logo {
    width: 80px;
    height: 80px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo:hover {
    transform: scale(1.08) translateY(-2px);
}

/* Navigation Section */
.nav-section {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #4d4d4d;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.nav-button:hover {
    transform: translateY(-2px);
    border-color: #FF4D00;
    color: #FF4D00;
}

.nav-button.active {
    background: linear-gradient(135deg, #FF4D00 0%, #f94000 100%);
    color: #ffffff;
    border-color: transparent;
}

.nav-button.admin {
    background: linear-gradient(135deg, #4d4d4d 0%, #666666 100%);
    color: #ffffff;
    border-color: transparent;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.header-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF4D00, #f94000);
    border-radius: 2px;
}

.main-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #FF4D00;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #4d4d4d;
    line-height: 1.3;
    opacity: 0.85;
    letter-spacing: 0.2px;
}

/* Admin Actions */
.admin-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.action-btn.primary {
    background: linear-gradient(135deg, #FF4D00 0%, #f94000 100%);
    color: #ffffff;
}

.action-btn.secondary {
    background: #ffffff;
    color: #4d4d4d;
    border: 2px solid #e0e0e0;
}

.action-btn:hover {
    transform: translateY(-2px);
}

.action-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
}

.action-btn.secondary:hover {
    border-color: #FF4D00;
    color: #FF4D00;
}

/* Section Styles */
.section {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.section-title {
    background: #FF4D00;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 20px 30px;
    margin: 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.section-content {
    color: #4d4d4d;
    padding: 30px;
    text-align: left;
}

/* Post Form */
.post-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-weight: 600;
    color: #4d4d4d;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF4D00;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn {
    background: linear-gradient(135deg, #FF4D00 0%, #f94000 100%);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.cancel-btn {
    background: #ffffff;
    color: #4d4d4d;
    border: 2px solid #e0e0e0;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.cancel-btn:hover {
    border-color: #FF4D00;
    color: #FF4D00;
}

/* Posts List */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.post-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.post-info {
    flex: 1;
    text-align: left;
}

.post-title {
    font-weight: 600;
    color: #4d4d4d;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #888888;
}

.post-actions {
    display: flex;
    gap: 12px;
}

.action-btn-small {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.edit-btn {
    background: #FF4D00;
    color: #ffffff;
}

.edit-btn:hover {
    background: #f94000;
    transform: translateY(-1px);
}

.delete-btn {
    background: #dc3545;
    color: #ffffff;
}

.delete-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    color: #888888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .post-item {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .post-info {
        text-align: center;
    }
    
    .post-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .section-content {
        padding: 20px;
    }
    
    .admin-actions {
        flex-direction: column;
        align-items: center;
    }
}
