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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a1a;
    color: white;
    min-height: 100vh;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #444;
}

.page-title {
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: white;
    flex-grow: 1;
    text-align: center;
}

.close-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background-color: white;
    color: #1a1a1a;
}

/* Content */
.content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section {
    width: 100%;
}

.section-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    background-color: #2a2a2a;
    margin-top: 15px;
}

.palette-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #2a2a2a;
}

.palette-table thead {
    background-color: #333;
}

.palette-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 2px solid #444;
    color: white;
}

.palette-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #3a3a3a;
    color: #d4621a;
    font-size: 0.85rem;
}

.palette-table tbody tr:last-child td {
    border-bottom: none;
}

.action-column {
    text-align: right;
    width: 80px;
}

/* Status Dots */
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-dot.green {
    background-color: #4CAF50;
}

.status-dot.red {
    background-color: #F44336;
}

.status-dot.blue {
    background-color: #4a9eff;
}

.palette-ref-text {
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Action Toggle Buttons */
.action-toggle-btn {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.action-toggle-btn.add {
    background-color: #4a9eff;
}

.action-toggle-btn.add:hover {
    background-color: #6bb3ff;
}

.action-toggle-btn.remove {
    background-color: #ff4444;
}

.action-toggle-btn.remove:hover {
    background-color: #ff6666;
}

/* Bottom Actions */
.bottom-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #444;
}

.delete-palette-btn {
    background-color: #ff4444;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-palette-btn:hover {
    background-color: #ff6666;
}

.bl-btn {
    background-color: #1a1a1a;
    color: white;
    border: 2px solid white;
    padding: 16px 48px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.bl-btn:hover {
    background-color: #333;
}

/* Responsive design for tablets */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }

    .page-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .section-title {
        font-size: 0.95rem;
    }

    .bottom-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .bottom-actions {
        flex-direction: column;
    }

    .bl-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .page-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 0.85rem;
    }

    .palette-table th,
    .palette-table td {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .close-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .action-toggle-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
