.profile-container {
    width: 600px;
    margin: 0 auto;
}

.cat-edit-container {
            max-width: 900px;
            margin: 0 auto;
        }

.back-btn {
    padding: 8px 16px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.back-btn:hover {
    background-color: #1976D2;
}

.profile-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
}

h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

input:focus {
    outline: none;
    border-color: #2196F3;
}

select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            font-family: inherit;
        }
        
        input[type="color"] {
            height: 50px;
            cursor: pointer;
        }
        
        select {
            cursor: pointer;
        }

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #2196F3;
    color: white;
}

.btn-primary:hover {
    background-color: #1976D2;
}

.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-danger:hover {
    background-color: #d32f2f;
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.message.show {
    display: block;
}

.message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.message.error {
    background-color: #ffebee;
    color: #c62828;
}

.danger-zone {
    border: 2px solid #f44336;
    padding: 20px;
    border-radius: 8px;
    background-color: #ffebee;
}

.danger-zone h3 {
    color: #c62828;
    margin-bottom: 10px;
}

.danger-zone p {
    color: #666;
    margin-bottom: 15px;
}

/* CATEGORIES */

.section {
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }
        
        .section h2 {
            color: #333;
            font-size: 20px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
        }
.category-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .category-item {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 5px;
            color: #333;
            background: #f9f9f9;
            border-radius: 6px;
            border: 2px solid transparent;
            transition: all 0.2s;
        }
        
        .category-item:hover {
            border-color: #e0e0e0;
        }
        
        .category-color-preview {
            width: 40px;
            height: 40px;
            border-radius: 6px;
            flex-shrink: 0;
        }
        
        .category-info {
            flex: 1;
        }
        
        .cat-edit-name {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 4px;
        }
        
        .category-meta {
            font-size: 13px;
            color: #666;
        }
        
        .category-actions {
            display: flex;
            gap: 8px;
        }
        
        .icon-btn {
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: all 0.2s;
        }
        
        .icon-btn.edit {
            background-color: #5e8aad;
            color: white;
        }
        
        .icon-btn.edit:hover {
            background-color: #2e92f5;
        }
        
        .icon-btn.delete {
            background-color: #d65e55;
            color: white;
        }
        
        .icon-btn.delete:hover {
            background-color: #be401a;
        }
        
        .add-btn {
            width: 100%;
            padding: 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s;
        }
        
        .add-btn:hover {
            background-color: #45a049;
        }
        
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #999;
        }
        
        /* Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }
        
        .modal-overlay.active {
            display: flex;
        }
        
        .modal-content {
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            max-width: 500px;
            width: 90%;
        }
        
        .modal-header {
            margin-bottom: 20px;
        }
        
        .modal-title {
            font-size: 22px;
            font-weight: 600;
            color: #333;
        }
        
        .modal-actions {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            margin-top: 25px;
        }