.btn {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease, filter 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background-color: var(--success-color);
}

.btn-danger {
    background-color: var(--danger-color);
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    padding: 32px 24px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2), opacity 0.3s ease;
    pointer-events: none;
    width: 220px;
    height: 220px;
    text-align: center;
}

.toast.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.toast-icon {
    font-size: 64px;
    line-height: 1;
}

.toast-message {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* View Header */
.view-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.view-header h2 {
    font-size: 22px;
    font-weight: 700;
}

/* Filter Button */
.filter-btn {
    background: none;
    border: none;
    color: var(--button-color);
    cursor: pointer;
    position: relative;
}

.filter-btn .icon {
    width: 24px;
    height: 24px;
}

/* Badge */
.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--danger-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
    border: 2px solid var(--bg-color);
}

/* Icon Button */
.icon-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin: -8px;
}

.icon-btn .icon {
    width: 24px;
    height: 24px;
}

/* Text Button */
.text-btn {
    background: none;
    border: none;
    color: var(--button-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 8px 0;
}
