/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F0F2F5;
}

/* ==================== Navigation ==================== */
.nav-link {
    color: #65676B;
    background: transparent;
    text-decoration: none;
}

.nav-link:hover {
    background: #F0F2F5;
    color: #1877F2;
}

.nav-link.active {
    background: #E7F3FF;
    color: #1877F2;
}

/* ==================== Line Clamp ==================== */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== Settings Cards ==================== */
.settings-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #E4E6EB;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ==================== Modal ==================== */
.modal-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.modal-detail-item {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 12px;
}

.modal-detail-item .label {
    font-size: 12px;
    color: #65676B;
    margin-bottom: 4px;
}

.modal-detail-item .value {
    font-size: 14px;
    font-weight: 600;
    color: #1C1E21;
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#adsGrid > div {
    animation: fadeInUp 0.3s ease forwards;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .nav-link span {
        display: none;
    }
    
    #adsGrid {
        grid-template-columns: 1fr !important;
    }
}
